Markers - Don't try to move poly-line markers (#9381)

This commit is contained in:
PabstMirror 2023-09-09 16:29:57 -05:00 committed by GitHub
parent 56e905ab7a
commit 29ba42bfb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,8 @@
params [["_marker",""]]; params [["_marker",""]];
if ((markerShape _marker) == "POLYLINE") exitWith { false };
switch (GVAR(moveRestriction)) do { switch (GVAR(moveRestriction)) do {
case MOVE_RESTRICTION_NOBODY: {false}; case MOVE_RESTRICTION_NOBODY: {false};
case MOVE_RESTRICTION_ALL: {true}; case MOVE_RESTRICTION_ALL: {true};