From 6119f3a50794e8ef05a993de17fcea9ec54fc401 Mon Sep 17 00:00:00 2001 From: ApsZoldat <128713348+ApsZoldat@users.noreply.github.com> Date: Thu, 28 Sep 2023 23:07:02 +0300 Subject: [PATCH] Fix text setting in marker control (#9108) --- core/src/mindustry/logic/LExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index 2c45d4ad5f..606213eb5d 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -1862,7 +1862,7 @@ public class LExecutor{ if(type == LMarkerControl.remove){ state.markers.remove(exec.numi(id)); }else{ - var marker = state.markers.get(id); + var marker = state.markers.get(exec.numi(id)); if(marker == null) return; if(type == LMarkerControl.text){