Don't autosave in the Chamber of Sages (#2076)

This commit is contained in:
Josh Bodner
2022-12-04 17:13:29 -08:00
committed by GitHub
parent 5d2b794c00
commit 39b80137f6
2 changed files with 2 additions and 2 deletions

View File

@@ -2632,7 +2632,7 @@ u8 Item_CheckObtainability(u8 item) {
}
void PerformAutosave(PlayState* play, u8 item) {
if (CVar_GetS32("gAutosave", 0)) {
if (CVar_GetS32("gAutosave", 0) && (play->sceneNum != SCENE_KENJYANOMA)) {
if (CVar_GetS32("gAutosaveAllItems", 0)) {
Play_PerformSave(play);
} else if (CVar_GetS32("gAutosaveMajorItems", 1)) {