diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 6efc6119..00bdfb28 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1885,8 +1885,7 @@ public class Mob extends AbstractIntelligenceAgent { if (!building.transferGold(-rankCost, false)) return; - //DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this)); - DateTime dateToUpgrade = DateTime.now().plusMinutes(5); + DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this)); Mob.setUpgradeDateTime(this, dateToUpgrade); // Schedule upgrade job diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 82adb937..07775e33 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -1325,8 +1325,7 @@ public class NPC extends AbstractCharacter { if (!building.transferGold(-rankCost, false)) return; - //dateToUpgrade = DateTime.now().plusHours(this.getUpgradeTime()); - dateToUpgrade = DateTime.now().plusMinutes(5); + dateToUpgrade = DateTime.now().plusHours(this.getUpgradeTime()); this.setUpgradeDateTime(dateToUpgrade);