Codechange: Pass ScriptInstance by reference.
This commit is contained in:
committed by
Peter Nelson
parent
13fcc0900e
commit
72ca962b84
@@ -37,7 +37,7 @@
|
||||
class TestScriptController {
|
||||
public:
|
||||
GameInstance game{};
|
||||
ScriptObject::ActiveInstance active{&game};
|
||||
ScriptObject::ActiveInstance active{game};
|
||||
|
||||
Squirrel engine{"test"};
|
||||
ScriptAllocatorScope scope{&engine};
|
||||
|
||||
Reference in New Issue
Block a user