diff --git a/GameFiles/IW4x/userraw/scripts/_integration.gsc b/GameFiles/IW4x/userraw/scripts/_integration.gsc index 88db25b9..eae7daa0 100644 --- a/GameFiles/IW4x/userraw/scripts/_integration.gsc +++ b/GameFiles/IW4x/userraw/scripts/_integration.gsc @@ -236,6 +236,11 @@ SaveTrackingMetrics() { IPrintLn( "Saving tracking metrics for " + self.persistentClientId ); } + + if ( !IsDefined( self.lastShotCount ) ) + { + self.lastShotCount = 0; + } currentShotCount = self getPlayerStat( "mostshotsfired" ); change = currentShotCount - self.lastShotCount;