diff options
Diffstat (limited to 'editor/vobj-editor.cpp')
-rw-r--r-- | editor/vobj-editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/vobj-editor.cpp b/editor/vobj-editor.cpp index 916f303b..d3eb7bc5 100644 --- a/editor/vobj-editor.cpp +++ b/editor/vobj-editor.cpp @@ -57,8 +57,8 @@ start: while (auto id = a.get_object_colliding_with_cursor()) if (eʹ->id == id && eʹ->is_virtual()) { eʹ->destroy_script_pre(eʹ, script_destroy_reason::kill); - eʹ->destroy_script_post(); c.remove_object((unsigned)i); + eʹ->destroy_script_post(); goto start; } } |