]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix record keeping for flag capture times
authorSamual <samual@xonotic.org>
Sun, 1 Apr 2012 04:04:32 +0000 (00:04 -0400)
committerSamual <samual@xonotic.org>
Sun, 1 Apr 2012 04:04:32 +0000 (00:04 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index 99be62d5907da82574adaae05bb716db1c95cd5c..f130047132c726f55940dc2ab15548a855b293a6 100644 (file)
@@ -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);