mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-10 21:54:32 +00:00
Various Tournament mode fixes
-Issues with antipack not turning off in tournament mode -No teamkill warnings in tournament mode
This commit is contained in:
parent
7063b5f09d
commit
4f5b21dc6c
3 changed files with 23 additions and 5 deletions
|
|
@ -37,7 +37,7 @@ function connectLog(%client, %isDisconnect)
|
|||
{
|
||||
// get the client info
|
||||
%authInfo = %client.getAuthInfo();
|
||||
%ip = getField(strreplace(%client.getAddress(),":","\t"),1);
|
||||
%ip = getField(strreplace(%client.getAddress(),":","\t"),1);
|
||||
|
||||
// net tournament client present?
|
||||
if (!%client.t2csri_sentComCertDone)
|
||||
|
|
@ -177,7 +177,7 @@ function teamkillLog(%victimID, %killerID, %damageType)
|
|||
|
||||
//Stage in warnings
|
||||
%s = "";
|
||||
if(!%killerID.isAdmin) //Admins dont get warnings
|
||||
if(!%killerID.isAdmin && !$Host::TournamentMode) //Admins dont get warnings. No warnings in Tournament Mode
|
||||
{
|
||||
if(%ktk >= $Host::TKWarn1 && %ktk < $Host::TKWarn2)
|
||||
%s = "[Warned] ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue