1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-08 06:08:20 -05:00

tweak for integration

This commit is contained in:
RaidMax 2022-02-22 17:10:33 -06:00
parent 34328848f4
commit ce27d4fe61

View File

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