diff --git a/src/engine/gameManager/SimulationManager.java b/src/engine/gameManager/SimulationManager.java index 3b683ca8..6a7a6773 100644 --- a/src/engine/gameManager/SimulationManager.java +++ b/src/engine/gameManager/SimulationManager.java @@ -238,7 +238,8 @@ public enum SimulationManager { for (AbstractGameObject mineObject : mineList) { mine = (Mine) mineObject; - mine.onEnter(); + if(mine.isActive) + mine.onEnter(); } _minePulseTime = System.currentTimeMillis() + CITY_PULSE; diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index b1206f41..351bf0bd 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -645,7 +645,8 @@ public class Mine extends AbstractGameObject { for(Integer playerID : this._playerMemory){ player = PlayerCharacter.getFromCache(playerID); for(Guild present : this.dividedPlayers.keySet()) { - ChatManager.chatSystemInfo(player,present.getName() + "COUNT: " + this.dividedPlayers.get(present).size()); + int count = this.dividedPlayers.get(present).size(); + ChatManager.chatSystemInfo(player,present.getName() + " COUNT: " + count + " MULTIPLIER: " + (1.0f - (count / this.totalPlayers))); } } }