roadmap fix: no dearic city invasion if lifeday is on
This commit is contained in:
@@ -2691,6 +2691,10 @@ public class gcw extends script.base_script
|
||||
CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not configured to run a city invasion. Function returning False.");
|
||||
return false;
|
||||
}
|
||||
if (city == "dearic" && Boolean.parseBoolean(getConfigSetting("GameServer", "lifeday")) == true) {
|
||||
CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not running because life day is turned on.");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public static int gcwGetNextInvasionHour(String cityName) throws InterruptedException
|
||||
|
||||
Reference in New Issue
Block a user