mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Moved
This commit is contained in:
parent
026432b76f
commit
3fe81c1b8a
|
|
@ -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");
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue