Fixed crash when new create entity menu

This commit is contained in:
Antoine Pilote
2023-09-30 18:50:41 -04:00
parent 318fe00daf
commit 3389886a1f

View File

@@ -1333,6 +1333,7 @@ namespace Nuake {
{
Engine::GetCurrentScene()->CreateEntity("Script").AddComponent<WrenScriptComponent>();
}
ImGui::EndMenu();
}
ImGui::EndPopup();