mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
f76485ff3a
commit
86580f3d6f
@ -28,7 +28,7 @@ TRACE_3("registerObjects",_side,_budget,_objects);
|
|||||||
|
|
||||||
if (_side isEqualTo sideUnknown) exitWith {ERROR_1("Bad Side %1",_this);};
|
if (_side isEqualTo sideUnknown) exitWith {ERROR_1("Bad Side %1",_this);};
|
||||||
|
|
||||||
_objects select {
|
_objects = _objects select {
|
||||||
private _isValid = _x params [["_xClassname", "", [""]], ["_xCost", 0, [0]]];
|
private _isValid = _x params [["_xClassname", "", [""]], ["_xCost", 0, [0]]];
|
||||||
private _category = toLower (_x param [2, "", [""]]);
|
private _category = toLower (_x param [2, "", [""]]);
|
||||||
if (_category != "") then { _x set [2, _category]; };
|
if (_category != "") then { _x set [2, _category]; };
|
||||||
|
Loading…
Reference in New Issue
Block a user