Bug fix
* Fixed expression editor not re-initializing after reloading the script * Fixed expression editor not detecting modified expressions after reloading the script
This commit is contained in:
parent
41ce7b3cc9
commit
93909e5862
@ -422,9 +422,9 @@ init python:
|
|||||||
if not hasattr(store, "e"):
|
if not hasattr(store, "e"):
|
||||||
global e
|
global e
|
||||||
e = Editor()
|
e = Editor()
|
||||||
e.expressions = e.define_expressions()
|
e.expressions = e.define_expressions()
|
||||||
#config.all_character_callbacks.append(e.catch) # This is more efficient.
|
#config.all_character_callbacks.append(e.catch) # This is more efficient.
|
||||||
config.start_interact_callbacks.append(e.catch) # This allows to catch more statements and reset them if node types don't match.
|
config.start_interact_callbacks.append(e.catch) # This allows to catch more statements and reset them if node types don't match.
|
||||||
|
|
||||||
if renpy.get_screen("editor", layer="interface"):
|
if renpy.get_screen("editor", layer="interface"):
|
||||||
e.active = False
|
e.active = False
|
||||||
|
Loading…
Reference in New Issue
Block a user