Codechange: Pass Script engine by reference.
This commit is contained in:
committed by
Peter Nelson
parent
72ca962b84
commit
341cdbc16b
@@ -53,7 +53,7 @@ void ScriptScanner::ResetEngine()
|
||||
{
|
||||
this->engine->Reset();
|
||||
this->engine->SetGlobalPointer(this);
|
||||
this->RegisterAPI(this->engine);
|
||||
this->RegisterAPI(*this->engine);
|
||||
}
|
||||
|
||||
void ScriptScanner::Initialize(std::string_view name)
|
||||
|
||||
Reference in New Issue
Block a user