diff options
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/script.cpp b/src/example/script.cpp index 928eddf..8ca4ceb 100644 --- a/src/example/script.cpp +++ b/src/example/script.cpp @@ -41,7 +41,7 @@ int main() { // Get ScriptSystem singleton instance (this would normally be done from the // game loop) - auto & sys = ScriptSystem::get_instance(); + ScriptSystem sys; // Update all scripts. This should result in MyScript::update being called sys.update(); |