From 060d831d504c71ff8eb94745faf303e9fa178baa Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 12:37:28 -0400 Subject: [PATCH] Comment for clarity. --- src/engine/gameManager/NPCManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/gameManager/NPCManager.java b/src/engine/gameManager/NPCManager.java index 49057836..9c5f2f2d 100644 --- a/src/engine/gameManager/NPCManager.java +++ b/src/engine/gameManager/NPCManager.java @@ -350,6 +350,8 @@ public enum NPCManager { else { Mob mobile = (Mob) abstractCharacter; + // Siege engines are not hirelings but minions of said hireling. + if (!mobile.behaviourType.equals(Enum.MobBehaviourType.SiegeEngine)) abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot); }