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

This commit is contained in:
2023-01-11 15:00:52 -05:00
parent af7d801388
commit 3ec985e3d9
+5
View File
@@ -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){