From: Samual Date: Sun, 1 Apr 2012 04:04:32 +0000 (-0400) Subject: Fix record keeping for flag capture times X-Git-Tag: xonotic-v0.7.0~240^2~127 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=786e1b0643d7ae0f87ffa5700fe84971769ae522;p=xonotic%2Fxonotic-data.pk3dir.git Fix record keeping for flag capture times --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 99be62d59..f13004713 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -389,7 +389,7 @@ void ctf_Handle_Dropped_Capture(entity flag, entity enemy_flag) void ctf_Handle_Capture(entity flag, entity player) { // messages and sounds - Send_KillNotification(player.netname, player.flagcarried.netname, ctf_CaptureRecord(flag, player), INFO_CAPTUREFLAG, MSG_INFO); + Send_KillNotification(player.netname, player.flagcarried.netname, ctf_CaptureRecord(player.flagcarried, player), INFO_CAPTUREFLAG, MSG_INFO); sound(player, CH_TRIGGER, flag.snd_flag_capture, VOL_BASE, ATTN_NONE); ctf_EventLog("capture", player.flagcarried.team, player);