|
|
|
@ -1885,8 +1885,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -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
|
|
|
|
|