From 47e27b0b45dca684f906b441e7baf27e85c54555 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 2 Aug 2015 21:18:00 +1000 Subject: [PATCH] Fix capture and pass effects --- qcsrc/server/mutators/gamemode_ctf.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 10b17719a..d17dc86a1 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -1128,8 +1128,8 @@ void ctf_FlagSetup(int teamnumber, entity flag) // called when spawning a flag e if(flag.skin == 0) { flag.skin = cvar(sprintf("g_ctf_flag_%s_skin", teamname)); } if(flag.model == "") { flag.model = cvar_string(sprintf("g_ctf_flag_%s_model", teamname)); } set_flag_string(flag, toucheffect, "%sflag_touch", teamname); - set_flag_string(flag, passeffect, "%sflag_pass", teamname); - set_flag_string(flag, capeffect, "%sflag_cap", teamname); + set_flag_string(flag, passeffect, "%s_pass", teamname); + set_flag_string(flag, capeffect, "%s_cap", teamname); // sounds set_flag_string(flag, snd_flag_taken, "ctf/%s_taken.wav", teamname); -- 2.39.2