this way probably makes more sense per Ios's suggestion

This commit is contained in:
AconiteGodOfSWG
2020-06-20 13:39:06 -05:00
parent b4b98f0ca0
commit c4190aa9a5

View File

@@ -2691,7 +2691,7 @@ 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) {
if (city.equalsIgnoreCase("dearic") && utils.checkConfigFlag("GameServer", "lifeday")) {
CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not running because life day is turned on.");
return false;
}