X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fplayerstats.qc;h=cf272e5635a1eb66e72ec90810b864b10eff9f27;hp=3599e84e617b53fcd40a4c78204f725ed3b501f0;hb=e0012447bfce1b551df3dc01b043655aa93dafad;hpb=60b0e81cdaed847a7aac9d234f219937ab9462b2 diff --git a/qcsrc/common/playerstats.qc b/qcsrc/common/playerstats.qc index 3599e84e61..cf272e5635 100644 --- a/qcsrc/common/playerstats.qc +++ b/qcsrc/common/playerstats.qc @@ -55,7 +55,7 @@ void PlayerStats_GameReport_AddPlayer(entity e) } } -void PlayerStats_GameReport_AddTeam(float t) +void PlayerStats_GameReport_AddTeam(int t) { if(PS_GR_OUT_DB < 0) { return; } @@ -159,7 +159,7 @@ void PlayerStats_GameReport_FinalizePlayer(entity p) strfree(p.playerstats_id); } -void PlayerStats_GameReport(float finished) +void PlayerStats_GameReport(bool finished) { if(PS_GR_OUT_DB < 0) { return; } @@ -260,6 +260,7 @@ void PlayerStats_GameReport_Init() // initiated before InitGameplayMode so that } // this... is a hack, a temporary one until we get a proper duel gametype +// TODO: remove duel hack after servers have migrated to the proper duel gametype! string PlayerStats_GetGametype() { if(IS_GAMETYPE(DEATHMATCH) && autocvar_g_maxplayers == 2)