Browse Source

maintenance display on buildings

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
83a1cc5aba
  1. 2
      src/engine/net/client/msg/ManageCityAssetsMsg.java

2
src/engine/net/client/msg/ManageCityAssetsMsg.java

@ -514,7 +514,7 @@ public class ManageCityAssetsMsg extends ClientNetMsg { @@ -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

Loading…
Cancel
Save