tweak for integration
This commit is contained in:
parent
78ef977268
commit
a6b56ceded
@ -237,6 +237,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;
|
||||||
self.lastShotCount = currentShotCount;
|
self.lastShotCount = currentShotCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user