From 03025e7f0065fdc4f4d825f6b5fff3c73f621f65 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 11 Feb 2024 19:10:05 -0600 Subject: [PATCH] 5 minute upgrades for initial placement --- src/engine/gameManager/BuildingManager.java | 2 +- src/engine/net/client/handlers/PlaceAssetMsgHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 844942ad..f2d610c5 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -258,7 +258,7 @@ public enum BuildingManager { if (building == null) return; - + building.upgradeDateTime = LocalDateTime.now().plusMinutes(5); if (building.getUpgradeDateTime() == null) { Logger.error("Attempt to submit upgrade job for non-ranking building"); return; diff --git a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java index 382b6547..c5f59add 100644 --- a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java +++ b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java @@ -800,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { treeObject.setObjectTypeMask(MBServerStatics.MASK_BUILDING); treeObject.setParentZone(zoneObject); - MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(7)); + MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(14)); // Update guild binds and tags //load the new city on the clients