Skip to content

Commit

Permalink
Fortify - Fix invalid object filtering (#9825)
Browse files Browse the repository at this point in the history
Actually filter object
  • Loading branch information
johnb432 authored Mar 4, 2024
1 parent f76485f commit 86580f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_registerObjects.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TRACE_3("registerObjects",_side,_budget,_objects);

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 _category = toLower (_x param [2, "", [""]]);
if (_category != "") then { _x set [2, _category]; };
Expand Down

0 comments on commit 86580f3

Please sign in to comment.