]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix capture and pass effects
authorMario <zacjardine@y7mail.com>
Sun, 2 Aug 2015 11:18:00 +0000 (21:18 +1000)
committerMario <zacjardine@y7mail.com>
Sun, 2 Aug 2015 11:18:00 +0000 (21:18 +1000)
qcsrc/server/mutators/gamemode_ctf.qc

index 10b17719a737a8076331187ba52794b416711559..d17dc86a19817e172ce37c554184a9a8a608af01 100644 (file)
@@ -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);