From 9af9e1459d4a5cf65e26abbf2b142df03e7852d0 Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Sat, 7 Jan 2023 08:37:39 -0800 Subject: [PATCH] Fix only 1 ammoType displaying with missile units (#8020) --- core/src/mindustry/world/meta/StatValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/meta/StatValues.java b/core/src/mindustry/world/meta/StatValues.java index 02c0ad0ae7..125c4df33c 100644 --- a/core/src/mindustry/world/meta/StatValues.java +++ b/core/src/mindustry/world/meta/StatValues.java @@ -329,7 +329,7 @@ public class StatValues{ if(type.spawnUnit != null && type.spawnUnit.weapons.size > 0){ ammo(ObjectMap.of(t, type.spawnUnit.weapons.first().bullet), indent, false).display(table); - return; + continue; } //no point in displaying unit icon twice