Fixed scripting engine crash and improved transformation system
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user