mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +03:00
Fix vscript loading bug with vector in a table
This commit is contained in:
parent
eb014cce6c
commit
046391ef25
@ -3182,6 +3182,8 @@ void SquirrelVM::ReadObject(CUtlBuffer* pBuffer, ReadStateMap& readState)
|
|||||||
if (classType == VectorClassType)
|
if (classType == VectorClassType)
|
||||||
{
|
{
|
||||||
sq_pushobject(vm_, vectorClass_);
|
sq_pushobject(vm_, vectorClass_);
|
||||||
|
sq_getstackobj(vm_, -1, obj);
|
||||||
|
sq_addref(vm_, obj);
|
||||||
}
|
}
|
||||||
else if (classType == NativeClassType)
|
else if (classType == NativeClassType)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user