Re-enabled day/night rule text

This commit is contained in:
Vortrex
2023-03-01 01:17:14 -06:00
parent d7bbe1748e
commit 3da2507cf7

View File

@@ -86,17 +86,17 @@ function updateServerRules() {
tempText = makeReadableTime(getServerConfig().hour, getServerConfig().minute);
timeWeatherRule.push(tempText);
}
}// else {
// if (getGame() == V_GAME_MAFIA_ONE) {
// if (isNightTime(getServerConfig().hour)) {
// tempText = "Night";
// } else {
// tempText = "Day";
// }
//
// timeWeatherRule.push(tempText);
// }
//}
} else {
if (getGame() == V_GAME_MAFIA_ONE) {
if (isNightTime(getServerConfig().hour)) {
tempText = "Night";
} else {
tempText = "Day";
}
timeWeatherRule.push(tempText);
}
}
if (isWeatherSupported()) {
if (getServerConfig() != false) {