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