From: Samual Lenks Date: Sun, 1 Dec 2013 05:27:31 +0000 (-0500) Subject: Consistency-- activator functions should have no other suffix. X-Git-Tag: xonotic-v0.8.0~139^2~1^2~91 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da4036e2b729228ff0faeccc846a3fcc68f21a91;p=xonotic%2Fxonotic-data.pk3dir.git Consistency-- activator functions should have no other suffix. --- diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index dc6ddd758..7928d07fe 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -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; } diff --git a/qcsrc/common/playerstats.qh b/qcsrc/common/playerstats.qh index 74c28407c..86daf76fa 100644 --- a/qcsrc/common/playerstats.qh +++ b/qcsrc/common/playerstats.qh @@ -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); diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 36f6d14f4..c55d8afd1 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -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) {