From b30e35f4652c7d97b8bbe87271eece33cbcdc66b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 13 Jan 2023 11:52:50 -0500 Subject: [PATCH] Refresh mine when destroyed. --- src/engine/objects/Mine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index eef13364..ee2e634b 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -523,7 +523,8 @@ try{ Logger.debug( "Null mine building " + this.getObjectUUID() +". Unable to Load Building with UID " +this.buildingID); return; } - WorldGrid.updateObject(mineBuilding); + + mineBuilding.refresh(false); // remove hirelings