Add overriddenSelf initialization for scriptRead (#329)
This commit is contained in:
parent
81fce5f4a2
commit
f411d75643
|
@ -1998,6 +1998,8 @@ static int scriptRead(Script* scr, File* stream)
|
||||||
scr->localVarsCount = 0;
|
scr->localVarsCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scr->overriddenSelf = nullptr;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue