diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-03 22:17:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-05 03:16:23 +0200 |
commit | 90e14ba9636f4f5a44f06efac5a50e373d8daeaa (patch) | |
tree | 44d6d857ef3e4af41694a60c0c83d1788b74f71a | |
parent | bacf3d17645e4f79496d42069d9e96bb7ac76497 (diff) |
b
-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; } } |