Prevented editor camera updates if in play mode

This commit is contained in:
Antoine Pilote
2023-07-06 22:41:02 -04:00
parent 88e2286bd6
commit b4734d2ccb

View File

@@ -1477,7 +1477,7 @@ namespace Nuake {
void EditorInterface::Update(float ts)
{
if (!Engine::GetCurrentScene())
if (!Engine::GetCurrentScene() || Engine::IsPlayMode)
{
return;
}