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"):
|
||||
global e
|
||||
e = Editor()
|
||||
e.expressions = e.define_expressions()
|
||||
#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.
|
||||
e.expressions = e.define_expressions()
|
||||
#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.
|
||||
|
||||
if renpy.get_screen("editor", layer="interface"):
|
||||
e.active = False
|
||||
|
Loading…
Reference in New Issue
Block a user