Remove the last setattr on the store
benign in this case since the variable is builtin, but consistency and good practices
(cherry picked from commit 1d1d18ad1c
)
This commit is contained in:
parent
1bd428a0d8
commit
cd6de9aa8c
@ -119,10 +119,12 @@ init python early:
|
|||||||
renpy.execute_default_statement(False)
|
renpy.execute_default_statement(False)
|
||||||
|
|
||||||
def disable_game_menu():
|
def disable_game_menu():
|
||||||
setattr(renpy.store, "_game_menu_screen", None)
|
global _game_menu_screen
|
||||||
|
_game_menu_screen = None
|
||||||
|
|
||||||
def enable_game_menu():
|
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):
|
def make_revertable(obj):
|
||||||
if isinstance(obj, _list):
|
if isinstance(obj, _list):
|
||||||
|
Loading…
Reference in New Issue
Block a user