Check added

So T2 wont crash when getTimeDif is missing
This commit is contained in:
ChocoTaco1 2020-11-20 23:32:19 -05:00
parent 6281639e80
commit ad685535f9

View file

@ -32,7 +32,8 @@ function CreateServer( %mission, %missionType )
// Auto Daily Hard Server Restart at a specific time // Auto Daily Hard Server Restart at a specific time
// getTimeDif from zDarkTigerStats.cs // getTimeDif from zDarkTigerStats.cs
schedule(getTimeDif("10\t00\tam"),0,"quit"); if($dtStats::version)
schedule(getTimeDif("10\t00\tam"),0,"quit");
} }
}; };