Browse Source

invisible cities on map logging

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
a0164d5abb
  1. 6
      src/engine/objects/City.java

6
src/engine/objects/City.java

@ -295,7 +295,11 @@ public class City extends AbstractWorldObject { @@ -295,7 +295,11 @@ public class City extends AbstractWorldObject {
else
writer.putString(rulingNation.getName());
writer.putInt(city.getTOL().getRank());
if(city.getTOL() != null) {
writer.putInt(city.getTOL().getRank());
}else{
writer.putInt(-1);
}
if (city.isNoobIsle > 0)
writer.putInt(1);

Loading…
Cancel
Save