Codechange: Pass ScriptInstance by reference.

This commit is contained in:
Peter Nelson
2025-04-28 23:08:20 +01:00
committed by Peter Nelson
parent 13fcc0900e
commit 72ca962b84
14 changed files with 67 additions and 67 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
class TestScriptController {
public:
GameInstance game{};
ScriptObject::ActiveInstance active{&game};
ScriptObject::ActiveInstance active{game};
Squirrel engine{"test"};
ScriptAllocatorScope scope{&engine};