From c02c5750c64b025beb6c91b2aac8dcc1a75e9ff1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 22 Apr 2023 22:10:06 -0500 Subject: [PATCH] proper contract names in asset management window --- src/engine/net/client/msg/ManageCityAssetsMsg.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/msg/ManageCityAssetsMsg.java b/src/engine/net/client/msg/ManageCityAssetsMsg.java index 85ce6dae..42786590 100644 --- a/src/engine/net/client/msg/ManageCityAssetsMsg.java +++ b/src/engine/net/client/msg/ManageCityAssetsMsg.java @@ -275,7 +275,8 @@ public class ManageCityAssetsMsg extends ClientNetMsg { if (npcHire.getObjectType() == GameObjectType.NPC) writer.putString(((NPC)npcHire).getContract().getName()); else - writer.putString("Guard Captain"); + writer.putString(((Mob)npcHire).getContract().getName()); + //writer.putString("Guard Captain"); writer.putString(npcHire.getName()); writer.putInt(1); writer.putInt(Blueprint.getNpcMaintCost(npcHire.getRank()));