From: Mario Date: Sun, 2 Aug 2015 11:18:00 +0000 (+1000) Subject: Fix capture and pass effects X-Git-Tag: xonotic-v0.8.1~29^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=47e27b0b45dca684f906b441e7baf27e85c54555;p=xonotic%2Fxonotic-data.pk3dir.git Fix capture and pass effects --- 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);