From 3389886a1fe9703d06adc245f5b9c66e008513fe Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sat, 30 Sep 2023 18:50:41 -0400 Subject: [PATCH] Fixed crash when new create entity menu --- Editor/src/Windows/EditorInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index 0999ba9d..e5c46158 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -1333,6 +1333,7 @@ namespace Nuake { { Engine::GetCurrentScene()->CreateEntity("Script").AddComponent(); } + ImGui::EndMenu(); } ImGui::EndPopup();