Browse Source

bugfix: window should not end for a mine not opened.

master
MagicBot 2 years ago
parent
commit
3ec985e3d9
  1. 5
      src/engine/objects/Mine.java

5
src/engine/objects/Mine.java

@ -519,6 +519,11 @@ try{ @@ -519,6 +519,11 @@ try{
public boolean handleEndMineWindow(){
// No need to end the window of a mine which never opened.
if (this.isActive == false)
return false;
Building mineBuilding = BuildingManager.getBuildingFromCache(this.buildingID);
if (mineBuilding == null){

Loading…
Cancel
Save