From: Mircea Kitsune Date: Sat, 29 Oct 2011 11:20:42 +0000 (+0300) Subject: Fix a menu bug using the wrong cvar for attachment bone X-Git-Tag: xonotic-v0.6.0~35^2~18^2~53 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a1279a57a62529c27682e76ce9e3002530aea14a;p=xonotic%2Fxonotic-data.pk3dir.git Fix a menu bug using the wrong cvar for attachment bone --- diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.c b/qcsrc/menu/xonotic/dialog_sandboxtools.c index e0cb4301b..fa49734b6 100644 --- a/qcsrc/menu/xonotic/dialog_sandboxtools.c +++ b/qcsrc/menu/xonotic/dialog_sandboxtools.c @@ -33,7 +33,7 @@ void XonoticSandboxToolsDialog_fill(entity me) box.maxLength = -127; // negative means encoded length in bytes box.saveImmediately = 1; me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Set * as child"), '0 0 0', "sandbox object_attach get", 0)); - me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Attach to *"), '0 0 0', "sandbox object_attach set $menu_sandbox_edit_skin", 0)); + me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Attach to *"), '0 0 0', "sandbox object_attach set $menu_sandbox_edit_bone", 0)); me.TDempty(me, 0.1); me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Detach from *"), '0 0 0', "sandbox object_attach remove", 0)); me.TR(me);