From b4734d2ccb1ff63843db4981150b5729b61dce77 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 6 Jul 2023 22:41:02 -0400 Subject: [PATCH] Prevented editor camera updates if in play mode --- Editor/src/Windows/EditorInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index 37edf0c6..871ceab8 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -1477,7 +1477,7 @@ namespace Nuake { void EditorInterface::Update(float ts) { - if (!Engine::GetCurrentScene()) + if (!Engine::GetCurrentScene() || Engine::IsPlayMode) { return; }