Before matchStart exception

This commit is contained in:
ChocoTaco1 2020-11-20 15:29:07 -05:00
parent 291487e19c
commit 066500f7cf

View file

@ -1791,8 +1791,8 @@ package dtStats{
}
function DefaultGame::clientChangeTeam(%game, %client, %team, %fromObs, %respawned){ // z0dd - ZOD, 6/06/02. Don't send a message if player used respawn feature. Added %respawned
parent::clientChangeTeam(%game, %client, %team, %fromObs, %respawned);
if($dtStats::Enable)
%client.dtStats.switchteamCount++;
if($dtStats::Enable && isGameRun())
%client.dtStats.switchteamCount++;
}
function RepairPack::onThrow(%data,%obj,%shape){
parent::onThrow(%data,%obj,%shape);