From 6a7d2303a4c07df55d4b145adbdf7d4b0f3d1744 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 26 Aug 2020 14:55:07 -0400 Subject: [PATCH] Fixed disconnected players not being removed --- core/src/mindustry/entities/EntityGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/entities/EntityGroup.java b/core/src/mindustry/entities/EntityGroup.java index f9c6d55316..5a1be4bdc3 100644 --- a/core/src/mindustry/entities/EntityGroup.java +++ b/core/src/mindustry/entities/EntityGroup.java @@ -101,7 +101,7 @@ public class EntityGroup implements Iterable{ if(map == null) throw new RuntimeException("Mapping is not enabled for group " + id + "!"); T t = map.get(id); if(t != null){ //remove if present in map already - remove(t); + t.remove(); } }