]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't send weapon priority on update, as this can break in-game stuff (like weaplast...
authorMario <mario@smbclan.net>
Fri, 20 Nov 2015 02:25:33 +0000 (12:25 +1000)
committerMario <mario@smbclan.net>
Fri, 20 Nov 2015 02:25:54 +0000 (12:25 +1000)
qcsrc/menu/xonotic/dialog_multiplayer_profile.qc

index 122beda18dcf929287d67b19aadc0d8eace64675..449a35e809a94b6f7ae1f1112d2d239933032ad9 100644 (file)
@@ -161,6 +161,6 @@ void XonoticProfileTab_fill(entity me)
        #endif
 
        me.gotoRC(me, me.rows - 1, 0);
-               me.TD(me, 1, me.columns, makeXonoticCommandButton(_("Apply immediately"), '0 0 0', "color -1 -1;name \"$_cl_name\";sendcvar cl_weaponpriority;sendcvar cl_autoswitch;sendcvar cl_forceplayermodels;sendcvar cl_forceplayermodelsfromxonotic;playermodel $_cl_playermodel;playerskin $_cl_playerskin", COMMANDBUTTON_APPLY));
+               me.TD(me, 1, me.columns, makeXonoticCommandButton(_("Apply immediately"), '0 0 0', "color -1 -1;name \"$_cl_name\";sendcvar cl_autoswitch;sendcvar cl_forceplayermodels;sendcvar cl_forceplayermodelsfromxonotic;playermodel $_cl_playermodel;playerskin $_cl_playerskin", COMMANDBUTTON_APPLY));
 }
 #endif