mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
KickObserver OnJoin Var
This commit is contained in:
parent
5aaa8ee7d0
commit
31365d40ad
|
|
@ -101,6 +101,7 @@ $Host::holoName6 = "Harbinger";
|
|||
$Host::Info = "This is a Tribes 2 Classic server. More information in Discord. <a:playt2.com/discord>playt2.com/discord</a>";
|
||||
$Host::ItemRespawnTime = 30;
|
||||
$Host::KickBanTime = 600;
|
||||
$Host::KickObserverStartOnJoin = 1;
|
||||
$Host::KickObserverTimeout = 1200;
|
||||
$Host::LakRabbitDuelMode = 0;
|
||||
$Host::LakRabbitNoSplashDamage = 1;
|
||||
|
|
|
|||
|
|
@ -1824,7 +1824,7 @@ function DefaultGame::clientMissionDropReady(%game, %client)
|
|||
for(%i = 1; %i <= 13; %i++)
|
||||
$stats::weapon_damage[%client, %i] = "";
|
||||
|
||||
if(%client.team $=0) //Observer only
|
||||
if(%client.team $=0 && $Host::KickObserverStartOnJoin) //Observer only
|
||||
{
|
||||
if(!%client.isAdmin && !$Host::TournamentMode && $Host::KickObserverTimeout)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue