Skip to content

Commit

Permalink
Fix killer marker not going back to red if he's armed (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
3Mydlo3 authored Jan 26, 2024
1 parent cccf8c1 commit f25086c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions addons/markers/functions/fnc_loop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ if (playerSide isEqualTo WEST) then {
_marker = [_killer, _hidden] call FUNC(createKillerMarker);
} else {
_marker setMarkerPosLocal (position _killer);
};
if (_hidden) then {
_marker setMarkerColorLocal "ColorGreen";
if (_hidden) then {
_marker setMarkerColorLocal "ColorGreen";
} else {
_marker setMarkerColorLocal "ColorRed";
};
};
} else {
if !(playerSide isEqualTo EAST && {!(_marker isEqualTo "")}) then {
if !(_marker isEqualTo "") then {
[_killer] call FUNC(deleteUnitMarker);
};
};
Expand Down

0 comments on commit f25086c

Please sign in to comment.