Removed overlay when in play mode

This commit is contained in:
antopilo
2024-09-16 21:31:51 -04:00
parent bd77025ed0
commit f58e09cfc3

View File

@@ -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;