Live patch: don't try to re-export if live patch is not active

This commit is contained in:
Moritz Brückner 2021-07-24 13:36:55 +02:00
parent aa21402221
commit 7eced3b4f5

View file

@ -52,7 +52,7 @@ def stop():
def patch_export():
"""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
arm.assets.invalidate_enabled = False