mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Prevented editor camera updates if in play mode
This commit is contained in:
@@ -1477,7 +1477,7 @@ namespace Nuake {
|
||||
|
||||
void EditorInterface::Update(float ts)
|
||||
{
|
||||
if (!Engine::GetCurrentScene())
|
||||
if (!Engine::GetCurrentScene() || Engine::IsPlayMode)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user