From 413e782af19307d69cd9c98fd3be8781311811c8 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 21 Jul 2023 13:15:24 -0400 Subject: [PATCH] NPC slotting now conforms with bootstrap. --- src/engine/gameManager/BuildingManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 45492d4e..990c4efd 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -531,7 +531,7 @@ public enum BuildingManager { if (mob == null) return false; - WorldGrid.addObject(mob, contractOwner); + mob.setLoc(mob.getLoc()); return true; } @@ -543,7 +543,7 @@ public enum BuildingManager { if (mob == null) return false; - WorldGrid.addObject(mob, contractOwner); + mob.setLoc(mob.getLoc()); return true; } @@ -555,7 +555,7 @@ public enum BuildingManager { if (mob == null) return false; - WorldGrid.addObject(mob, contractOwner); + mob.setLoc(mob.getLoc()); return true; }