From 50d70097cb94459771f422adc124c9f8498a5dbb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 29 May 2024 13:52:12 +0200 Subject: [PATCH] fixup to another fix --- system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system.cpp b/system.cpp index 6e47e4eb..4b488d8e 100644 --- a/system.cpp +++ b/system.cpp @@ -1765,6 +1765,8 @@ EX void restore_all_golems() { } } +EX bool save_loaded; + EX void initAll() { callhooks(hooks_initialize); init_floorcolors(); @@ -1785,6 +1787,7 @@ EX void initAll() { #if CAP_SAVE select_savefile(); + save_loaded = true; loadsave(); if(IRREGULAR && !irr::base) irr::auto_creator(); #endif