aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
index 92c0f401..010184ff 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
@@ -36,7 +36,7 @@ void function Stats_Init()
AddCallback_OnPlayerRespawned( OnPlayerRespawned )
AddCallback_OnClientConnected( OnClientConnected )
AddCallback_OnClientDisconnected( OnClientDisconnected )
- AddCallback_GameStateEnter( eGameState.Epilogue, OnEpilogueStarted )
+ AddCallback_GameStateEnter( eGameState.WinnerDetermined, OnWinnerDetermined )
thread HandleDistanceAndTimeStats_Threaded()
thread SaveStatsPeriodically_Threaded()
@@ -798,7 +798,7 @@ void function OnPlayerRespawned( entity player )
thread SetLastPosForDistanceStatValid_Threaded( player, true )
}
-void function OnEpilogueStarted()
+void function OnWinnerDetermined()
{
// award players for match completed, wins, and losses
foreach ( entity player in GetPlayerArray() )