mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-19 18:45:18 +00:00
Integrated Hard Restart
Configurable in serverPrefs Off by default
This commit is contained in:
parent
e6af4d968b
commit
c5c670eca4
3 changed files with 6 additions and 2 deletions
|
|
@ -241,8 +241,8 @@ function CreateServer(%mission, %missionType)
|
|||
|
||||
// Auto Daily Hard Server Restart at a specific time
|
||||
// getTimeDif from zDarkTigerStats.cs
|
||||
if($dtStats::version)
|
||||
schedule(getTimeDif("10\t00\tam"),0,"quit"); //10AM server time
|
||||
if($dtStats::version && $Host::ClassicDailyHardRestart)
|
||||
schedule(getTimeDif($Host::ClassicDailyHardRestartTime),0,"quit");
|
||||
}
|
||||
|
||||
function initGameBots( %mission, %mType )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue