summaryrefslogtreecommitdiffhomepage
path: root/editor/scenery-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/scenery-editor.cpp')
-rw-r--r--editor/scenery-editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp
index b472fca5..2c205e3e 100644
--- a/editor/scenery-editor.cpp
+++ b/editor/scenery-editor.cpp
@@ -99,6 +99,7 @@ start:
eʹ->destroy_script_pre(eʹ, script_destroy_reason::kill);
c.remove_object(i);
eʹ->destroy_script_post();
+ eʹ->gone = true;
goto start;
}
break;