From 29ba42bfb51d362aac50593cd76dee8c7f09ea9c Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 9 Sep 2023 16:29:57 -0500 Subject: [PATCH] Markers - Don't try to move poly-line markers (#9381) --- addons/markers/functions/fnc_canMove.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/markers/functions/fnc_canMove.sqf b/addons/markers/functions/fnc_canMove.sqf index 2b2eaf5e9f..b2db6f9489 100644 --- a/addons/markers/functions/fnc_canMove.sqf +++ b/addons/markers/functions/fnc_canMove.sqf @@ -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};