tweak for integration

This commit is contained in:
RaidMax 2022-02-22 17:10:33 -06:00
parent 78ef977268
commit a6b56ceded

View File

@ -236,6 +236,11 @@ SaveTrackingMetrics()
{ {
IPrintLn( "Saving tracking metrics for " + self.persistentClientId ); IPrintLn( "Saving tracking metrics for " + self.persistentClientId );
} }
if ( !IsDefined( self.lastShotCount ) )
{
self.lastShotCount = 0;
}
currentShotCount = self getPlayerStat( "mostshotsfired" ); currentShotCount = self getPlayerStat( "mostshotsfired" );
change = currentShotCount - self.lastShotCount; change = currentShotCount - self.lastShotCount;