Removed throw for consistency. Not used anywhere else.

This commit is contained in:
Thomas Kooi 2015-01-17 14:26:50 +01:00
parent 42c90074cb
commit 748f4f30be

View File

@ -25,8 +25,8 @@ if (count _this > 4) then {
};
};
if (typeName _name != typeName "") then {
throw "IllegalArgument";
if (typeName _name != typeName "") exitwith {
[format["Tried to the deinfe a variable with an invalid name: %1 Arguments: %2", _name, _this]] call FUNC(debug);
};
if (isnil QGVAR(OBJECT_VARIABLES_STORAGE)) then {