diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index bad5a282..331efda5 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -2446,6 +2446,11 @@ namespace Nuake { void EditorInterface::Overlay() { + if (Engine::GetGameState() == GameState::Playing) + { + return; + } + // FIXME-VIEWPORT: Select a default viewport const float DISTANCE = 10.0f; int corner = 0;