mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-04 03:36:32 +03:00
Made VScript data variant returned in function stubs free itself
This commit is contained in:
@@ -1368,6 +1368,8 @@ SQInteger function_stub(HSQUIRRELVM vm)
|
||||
|
||||
PushVariant(vm, retval);
|
||||
|
||||
retval.Free();
|
||||
|
||||
return pFunc->m_desc.m_ReturnType != FIELD_VOID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user