Skip to content

Commit

Permalink
Markers - Don't try to move poly-line markers (#9381)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Sep 9, 2023
1 parent 56e905a commit 29ba42b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/markers/functions/fnc_canMove.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

params [["_marker",""]];

if ((markerShape _marker) == "POLYLINE") exitWith { false };

switch (GVAR(moveRestriction)) do {
case MOVE_RESTRICTION_NOBODY: {false};
case MOVE_RESTRICTION_ALL: {true};
Expand Down

0 comments on commit 29ba42b

Please sign in to comment.