From 7eced3b4f57a9ee40fb01deaab6bb52f89da2b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Br=C3=BCckner?= Date: Sat, 24 Jul 2021 13:36:55 +0200 Subject: [PATCH] Live patch: don't try to re-export if live patch is not active --- blender/arm/live_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender/arm/live_patch.py b/blender/arm/live_patch.py index ba60b13f..d48f2f3e 100644 --- a/blender/arm/live_patch.py +++ b/blender/arm/live_patch.py @@ -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