mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor code clean up
This commit is contained in:
@ -12,9 +12,10 @@ private ["_object", "_return", "_val", "_category"];
|
||||
_object = _this select 0;
|
||||
_category = if (count _this > 1) then { _this select 1 } else { "" };
|
||||
|
||||
if (isnil QGVAR(OBJECT_VARIABLES_STORAGE)) then {
|
||||
GVAR(OBJECT_VARIABLES_STORAGE) = [];
|
||||
if (isnil QGVAR(OBJECT_VARIABLES_STORAGE)) exitwith {
|
||||
[];
|
||||
};
|
||||
|
||||
_return = [];
|
||||
{
|
||||
_val = _object getvariable (_x select 0);
|
||||
|
Reference in New Issue
Block a user