Live patch: don't try to re-export if live patch is not active
This commit is contained in:
parent
aa21402221
commit
7eced3b4f5
|
@ -52,7 +52,7 @@ def stop():
|
||||||
|
|
||||||
def patch_export():
|
def patch_export():
|
||||||
"""Re-export the current scene and update the game accordingly."""
|
"""Re-export the current scene and update the game accordingly."""
|
||||||
if state.proc_build is not None:
|
if not __running or state.proc_build is not None:
|
||||||
return
|
return
|
||||||
|
|
||||||
arm.assets.invalidate_enabled = False
|
arm.assets.invalidate_enabled = False
|
||||||
|
|
Loading…
Reference in a new issue