mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Cleanup Engine.h and made IsPlayMode a method
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Nuake {
|
||||
|
||||
void ScriptingSystem::Update(Timestep ts)
|
||||
{
|
||||
if (!Engine::IsPlayMode)
|
||||
if (!Engine::IsPlayMode())
|
||||
return;
|
||||
|
||||
auto entities = m_Scene->m_Registry.view<WrenScriptComponent>();
|
||||
|
||||
Reference in New Issue
Block a user