From 61a640241cf5fe8dd9cfd4a849f385ad40fcba60 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sat, 16 Feb 2013 11:22:31 -0500 Subject: [PATCH] Fix compile --- qcsrc/server/mutators/gamemode_ctf.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index b631619c9..105aae7dd 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -49,8 +49,7 @@ void ctf_CaptureRecord(entity flag, entity player) else { Local_Notification(MSG_INFO, APP_TEAM_ENT_2(flag, INFO_CTF_CAPTURE_), player.netname); } // write that shit in the database - if(!ctf_captimerecord) - else if(cap_time < cap_record) + if((!ctf_captimerecord) || (cap_time < cap_record)) { ctf_captimerecord = cap_time; db_put(ServerProgsDB, strcat(GetMapname(), "/captimerecord/time"), ftos(cap_time)); -- 2.39.2