Browse Source

addressed mine bug

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
cd87927241
  1. 4
      src/engine/objects/Mine.java

4
src/engine/objects/Mine.java

@ -213,6 +213,7 @@ public class Mine extends AbstractGameObject {
Mine.towerMap.put(mine.buildingID, mine); Mine.towerMap.put(mine.buildingID, mine);
} }
try {
ChinaMines.add(serverMines.get(0)); ChinaMines.add(serverMines.get(0));
AmericaMines.add(serverMines.get(1)); AmericaMines.add(serverMines.get(1));
EuroMines.add(serverMines.get(2)); EuroMines.add(serverMines.get(2));
@ -248,6 +249,9 @@ public class Mine extends AbstractGameObject {
AmericaMines.add(serverMines.get(32)); AmericaMines.add(serverMines.get(32));
ChinaMines.add(serverMines.get(33)); ChinaMines.add(serverMines.get(33));
AmericaMines.add(serverMines.get(34)); AmericaMines.add(serverMines.get(34));
}catch(Exception e){
}
SetTimes(); SetTimes();
for(Mine mine : EuroMines){ for(Mine mine : EuroMines){
if(EuroMines.indexOf(mine) %2 == 0 ){ if(EuroMines.indexOf(mine) %2 == 0 ){

Loading…
Cancel
Save