diff --git a/scripts/server/timers.js b/scripts/server/timers.js index b5071e5e..807cbcbe 100644 --- a/scripts/server/timers.js +++ b/scripts/server/timers.js @@ -234,6 +234,7 @@ function checkServerGameTime() { getServerConfig().minute = dateTime.getMinutes(); } + /* if (getGame() == V_GAME_MAFIA_ONE) { if (getGameConfig().mainWorldScene[getGame()] == "FREERIDE") { if (isServerGoingToChangeMapsSoon(getServerConfig().hour, getServerConfig().minute)) { @@ -277,6 +278,7 @@ function checkServerGameTime() { } } } + */ if (isGameFeatureSupported("time")) { game.time.hour = getServerConfig().hour; diff --git a/scripts/server/utilities.js b/scripts/server/utilities.js index e6d56eed..97a3fb22 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) {