Browse Source

proper contract names in asset management window

master
FatBoy-DOTC 2 years ago
parent
commit
c02c5750c6
  1. 3
      src/engine/net/client/msg/ManageCityAssetsMsg.java

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

@ -275,7 +275,8 @@ public class ManageCityAssetsMsg extends ClientNetMsg { @@ -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()));

Loading…
Cancel
Save