mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 14:55:30 +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)
|
||||
{
|
||||
sq_pushobject(vm_, vectorClass_);
|
||||
sq_getstackobj(vm_, -1, obj);
|
||||
sq_addref(vm_, obj);
|
||||
}
|
||||
else if (classType == NativeClassType)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user