X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fanticheat.qc;h=9327a203416598b10e37229d7909f3e34f0eb86d;hp=7173ae5970721388811a5f639476540732851b54;hb=65ba38c5228d8af26ac2b04b6e6e536a1772f446;hpb=e87123e5fba23f7a8907e6fbab241c5eec5be168 diff --git a/qcsrc/server/anticheat.qc b/qcsrc/server/anticheat.qc index 7173ae597..9327a2034 100644 --- a/qcsrc/server/anticheat.qc +++ b/qcsrc/server/anticheat.qc @@ -202,9 +202,10 @@ void anticheat_report_to_eventlog(entity this) { } void anticheat_report_to_playerstats(entity this) { - PS_GR_P_ADDVAL(this, strcat(PLAYERSTATS_ANTICHEAT, "_time"), servertime - CS(this).anticheat_jointime); + PlayerStats_GameReport_Event_Player(this, + strcat(PLAYERSTATS_ANTICHEAT, "_time"), servertime - CS(this).anticheat_jointime); #define ANTICHEAT_REPORT_ONE(name, f, tmin, mi, ma) \ - PS_GR_P_ADDVAL(this, strcat(PLAYERSTATS_ANTICHEAT, name), f) + PlayerStats_GameReport_Event_Player(this, strcat(PLAYERSTATS_ANTICHEAT, name), f) ANTICHEATS(ANTICHEAT_REPORT_ONE); #undef ANTICHEAT_REPORT_ONE }