From 83a1cc5abae91b236e8c322cec4348f89e1bbf5c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 3 Jul 2024 19:56:50 -0500 Subject: [PATCH] maintenance display on buildings --- src/engine/net/client/msg/ManageCityAssetsMsg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/msg/ManageCityAssetsMsg.java b/src/engine/net/client/msg/ManageCityAssetsMsg.java index 473082b2..52205b61 100644 --- a/src/engine/net/client/msg/ManageCityAssetsMsg.java +++ b/src/engine/net/client/msg/ManageCityAssetsMsg.java @@ -514,7 +514,7 @@ public class ManageCityAssetsMsg extends ClientNetMsg { if (maintDate == null) maintDate = LocalDateTime.now(); - writer.putLocalDateTime(LocalDateTime.now()); // current time + writer.putLocalDateTime(maintDate); // current time // utc offset? writer.putInt((int) java.time.Duration.between(LocalDateTime.now(), maintDate).getSeconds()); // Seconds to maint date