diff --git a/scripts/server/utilities.js b/scripts/server/utilities.js index 853d0334..2dab2ce5 100644 --- a/scripts/server/utilities.js +++ b/scripts/server/utilities.js @@ -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) {