Skip to content

Commit

Permalink
Merge pull request #229 from dijksterhuis/revert-prune-active-zones-l…
Browse files Browse the repository at this point in the history
…ist-correctly

Revert "[FIXUP] prune active zones list correctly."
  • Loading branch information
dijksterhuis authored Sep 8, 2023
2 parents 94b13b5 + 13a2d28 commit e124abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mission/functions/systems/zones/fn_zones_capture_zone.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ params ["_zone"];

localNamespace getVariable [_zone, []] set [struct_zone_m_captured, true];

private _selectZone = mf_s_dir_activeZones findIf {_zone in _x};
mf_s_dir_activeZones deleteAt _selectZone;
private _selectZone = mf_s_ActiveZones findIf {_zone in _x};
mf_s_ActiveZones deleteAt _selectZone;

_zone setMarkerColor "ColorGreen";
[_zone, "zone_captured"] call para_c_fnc_zone_marker_add;

0 comments on commit e124abc

Please sign in to comment.