mirror of
https://github.com/celisej567/BCWSsrc.git
synced 2026-01-05 02:10:34 +03:00
Fix vscript loading bug with vector in a table
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user