mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-22 03:55:21 +00:00
Added TimedServerReset
This commit is contained in:
parent
e3de008b18
commit
291821f250
5 changed files with 107 additions and 6 deletions
|
|
@ -5,8 +5,6 @@
|
|||
// and aspects within the server.
|
||||
//
|
||||
//
|
||||
// To control whether the server auto resets when empty
|
||||
// $Host::EmptyServerReset = 0;
|
||||
|
||||
$GetCountsClientTeamChange = true;
|
||||
|
||||
|
|
@ -19,9 +17,6 @@ function CreateServer( %mission, %missionType )
|
|||
parent::CreateServer( %mission, %missionType );
|
||||
//Call for a GetTeamCount update
|
||||
GetTeamCounts( %game, %client, %respawn );
|
||||
|
||||
//Whether the server auto restarts when empty or not
|
||||
$Host::Dedicated = $Host::EmptyServerReset;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue