mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-06 03:09:05 +01:00
This commit is contained in:
parent
9c915f05ec
commit
07b40c02fe
@ -691,7 +691,7 @@ void ScriptInstance::LoadOnStack(ScriptData *data)
|
|||||||
{
|
{
|
||||||
ScriptObject::ActiveInstance active(this);
|
ScriptObject::ActiveInstance active(this);
|
||||||
|
|
||||||
if (data == nullptr) return;
|
if (this->IsDead() || data == nullptr) return;
|
||||||
|
|
||||||
HSQUIRRELVM vm = this->engine->GetVM();
|
HSQUIRRELVM vm = this->engine->GetVM();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user