summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-08-11 12:12:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-08-12 12:25:56 +0200
commit32e5545c8c50f0d16adde2aef9d7b50de01c90b2 (patch)
tree6856da067a755a28bf9b4474c07c1fcc0c155789 /editor/imgui.cpp
parent7576ba2309c33ae894d9a870f7fbe106d94d3750 (diff)
remove object::gone
With `bptr::destroy()` there's no need to be extra careful anymore.
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index c1523522..0e5b56cc 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -393,7 +393,6 @@ void app::do_popup_menu()
e.destroy_script_pre(eʹ, script_destroy_reason::kill);
e.chunk().remove_object(e.index());
e.destroy_script_post();
- e.gone = true;
eʹ.destroy();
}
}