Fixed scripting engine crash and improved transformation system

This commit is contained in:
Antoine Pilote
2023-03-05 18:19:41 -05:00
parent 435d50e655
commit b1edeb387f
11 changed files with 99 additions and 32 deletions

View File

@@ -99,12 +99,10 @@ namespace Nuake
// Dont trigger exit if already not in play mode.
if (IsPlayMode)
{
Logger::Log("Cannot exit play mode. Scene must be in play mode.", WARNING);
GetCurrentScene()->OnExit();
Input::ShowMouse();
IsPlayMode = false;
}
Input::ShowMouse();
IsPlayMode = false;
}
void Engine::Draw()