diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index 44e03ef12c..3b67f5a958 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -2049,6 +2049,11 @@ public class LExecutor{ state.markers.add(id, marker); } + @Remote(called = Loc.server, variants = Variant.both, unreliable = true) + public static void removeMarker(int id){ + state.markers.remove(id); + } + @Remote(called = Loc.server, variants = Variant.both, unreliable = true) public static void updateMarker(int id, LMarkerControl control, double p1, double p2, double p3){ var marker = state.markers.get(id);