This commit is contained in:
ChocoTaco 2021-07-17 10:52:33 -04:00
parent 026432b76f
commit 3fe81c1b8a
2 changed files with 10 additions and 10 deletions

View file

@ -24,18 +24,9 @@ function CreateServer( %mission, %missionType )
//Call for a GetTeamCount update
GetTeamCounts(%game);
// Set when server starts
// Used to reset timelimit (if voted) when map changes
$DefaultTimeLimit = $Host::TimeLimit;
// Prevent package from being activated if it is already
if (!isActivePackage(TeamCountsTriggers))
activatePackage(TeamCountsTriggers);
// Auto Daily Hard Server Restart at a specific time
// getTimeDif from zDarkTigerStats.cs
if($dtStats::version)
schedule(getTimeDif("10\t00\tam"),0,"quit");
}
};

View file

@ -234,6 +234,15 @@ function CreateServer(%mission, %missionType)
// TraversalRoot Console spam fix
if($Host::ClassicSuppressTraversalRootError)
suppressTraversalRootPatch();
// Set when server starts
// Used to reset timelimit (if voted) when map changes
$DefaultTimeLimit = $Host::TimeLimit;
// 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
}
function initGameBots( %mission, %mType )
@ -815,7 +824,7 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice,
//Changed to allow botskins
%temp = detag( %skin );
if(%temp $= "")
%client.skin = addTaggedString( "base" );
%client.skin = addTaggedString( "base" );
else
%client.skin = addTaggedString( %skin );