diff --git a/game/scripts/utility/common_functions.rpy b/game/scripts/utility/common_functions.rpy index 044f9772..987580a6 100644 --- a/game/scripts/utility/common_functions.rpy +++ b/game/scripts/utility/common_functions.rpy @@ -116,10 +116,12 @@ init python early: renpy.execute_default_statement(False) def disable_game_menu(): - setattr(renpy.store, "_game_menu_screen", None) + global _game_menu_screen + _game_menu_screen = None def enable_game_menu(): - setattr(renpy.store, "_game_menu_screen", "save_screen") + global _game_menu_screen + _game_menu_screen = "save_screen" def make_revertable(obj): if isinstance(obj, _list):