Remove the last setattr on the store

benign in this case since the variable is builtin, but consistency and good practices
This commit is contained in:
Gouvernathor 2024-03-30 17:33:28 +01:00
parent 31ebf9356a
commit 1d1d18ad1c
1 changed files with 4 additions and 2 deletions

View File

@ -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):