Browse Source

duplicated zone loading disabled

lakebane-new
FatBoy-DOTC 7 months ago
parent
commit
fe0c0f97a5
  1. 3
      src/engine/db/handlers/dbCityHandler.java

3
src/engine/db/handlers/dbCityHandler.java

@ -32,6 +32,9 @@ public class dbCityHandler extends dbHandlerBase { @@ -32,6 +32,9 @@ public class dbCityHandler extends dbHandlerBase {
String type = rs.getString("type");
switch (type) {
case "zone":
if(rs.getInt("canLoad") == 0){
return;
}
Zone zone = new Zone(rs);
DbManager.addToCache(zone);
list.add(zone);

Loading…
Cancel
Save