]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Consistency-- activator functions should have no other suffix.
authorSamual Lenks <samual@xonotic.org>
Sun, 1 Dec 2013 05:27:31 +0000 (00:27 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 1 Dec 2013 05:27:31 +0000 (00:27 -0500)
qcsrc/common/playerstats.qc
qcsrc/common/playerstats.qh
qcsrc/server/g_world.qc

index dc6ddd758dc7ecefdc32d0aa76fc8a7f11de4981..7928d07fed9fc3a6c70b864296ca945f40991e89 100644 (file)
@@ -179,7 +179,7 @@ void PlayerStats_GameReport_FinalizePlayer(entity p)
        p.playerstats_id = string_null;
 }
 
-void PlayerStats_GameReport_EndMatch(float finished)
+void PlayerStats_GameReport(float finished)
 {
        if(PS_GR_OUT_DB < 0) { return; }
        
index 74c28407cae8252aaafdcf4266eb9de9f918cff7..86daf76fad9ec5f58876cf7b3d13a3a8a43415d4 100644 (file)
@@ -50,7 +50,7 @@ void PlayerStats_GameReport_Accuracy(entity p);
 void PlayerStats_GameReport_FinalizePlayer(entity p);
 
 // call this at the end of the match
-void PlayerStats_GameReport_EndMatch(float finished);
+void PlayerStats_GameReport(float finished);
 
 void PlayerStats_GameReport_Handler(entity fh, entity pass, float status);
 
index 36f6d14f4b268f171998af1c400f277ede5c6215..c55d8afd14ddecb3e3a6fcaf530eca99feceb01d 100644 (file)
@@ -1506,7 +1506,7 @@ void NextLevel()
        DumpStats(TRUE);
 
        // send statistics
-       PlayerStats_GameReport_EndMatch(TRUE);
+       PlayerStats_GameReport(TRUE);
        WeaponStats_Shutdown();
 
        Kill_Notification(NOTIF_ALL, world, MSG_CENTER, 0); // kill all centerprints now
@@ -2839,7 +2839,7 @@ void Shutdown()
                Ban_SaveBans();
 
                // playerstats with unfinished match
-               PlayerStats_GameReport_EndMatch(FALSE);
+               PlayerStats_GameReport(FALSE);
 
                if(!cheatcount_total)
                {