Re-enabled day/night rule text
This commit is contained in:
@@ -86,17 +86,17 @@ function updateServerRules() {
|
|||||||
tempText = makeReadableTime(getServerConfig().hour, getServerConfig().minute);
|
tempText = makeReadableTime(getServerConfig().hour, getServerConfig().minute);
|
||||||
timeWeatherRule.push(tempText);
|
timeWeatherRule.push(tempText);
|
||||||
}
|
}
|
||||||
}// else {
|
} else {
|
||||||
// if (getGame() == V_GAME_MAFIA_ONE) {
|
if (getGame() == V_GAME_MAFIA_ONE) {
|
||||||
// if (isNightTime(getServerConfig().hour)) {
|
if (isNightTime(getServerConfig().hour)) {
|
||||||
// tempText = "Night";
|
tempText = "Night";
|
||||||
// } else {
|
} else {
|
||||||
// tempText = "Day";
|
tempText = "Day";
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// timeWeatherRule.push(tempText);
|
timeWeatherRule.push(tempText);
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
if (isWeatherSupported()) {
|
if (isWeatherSupported()) {
|
||||||
if (getServerConfig() != false) {
|
if (getServerConfig() != false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user