From 40834b15992292772005781e996b35afbfaa8d3d Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Tue, 14 Apr 2020 03:53:44 -0400 Subject: [PATCH] Update zDarkTigerStats.cs Record Team the player was on --- Classic/scripts/autoexec/zDarkTigerStats.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Classic/scripts/autoexec/zDarkTigerStats.cs b/Classic/scripts/autoexec/zDarkTigerStats.cs index c152f4d..e469396 100644 --- a/Classic/scripts/autoexec/zDarkTigerStats.cs +++ b/Classic/scripts/autoexec/zDarkTigerStats.cs @@ -786,6 +786,8 @@ $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "shockHitMaxDist"; $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "packpickupCount"; $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "weaponpickupCount"; $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "repairpackpickupCount"; + + $dtStats::FV[$dtStats::FC["dtStats"]++,"dtStats"] = "dtTeam"; /////////////////////////////////////////////////////////////////// $dtStats::uFC["dtStats"] = 0; // not saved but used to calculate other stats that are saved @@ -3211,6 +3213,9 @@ function DefaultGame::postGameStats(%game,%client){ //stats to add up at the end else if(%game.class $= "LakRabbitGame"){ %client.flagTimeMin = mFloor((%client.flagTimeMS / 1000)/60); } + + //Record clients team + %client.dtTeam = %client.team; } function DefaultGame::getGamePct(%game)