Skip to content

Commit

Permalink
Added support of usage of better name "cScripts_Staging_Zone" instead…
Browse files Browse the repository at this point in the history
… of "zone_staging" (#1116)
  • Loading branch information
AndreasBrostrom authored Jan 14, 2024
1 parent 996c86f commit 8d80d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cScripts/functions/init/fn_init_staging.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ private _stagingZoneMarkers = [];
{
private _markerName = [_x, 0, 11] call BIS_fnc_trimString;
_markerName = toLower _markerName;
if (_markerName in ["zone_staging", "respawn_west"]) then {
if (_markerName in ["zone_staging", "respawn_west", "cscripts_staging_zone"]) then {
private _type = markerShape _x;
private _pos = getMarkerPos _x;
_x setMarkerAlpha 0;
_stagingZoneMarkers append [[_x, _type, _pos]];
};
} forEach allMapMarkers;
Expand Down

0 comments on commit 8d80d80

Please sign in to comment.