From: terencehill Date: Fri, 5 Dec 2014 23:05:13 +0000 (+0100) Subject: Fix for a small bug X-Git-Tag: xonotic-v0.8.0~116^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=976be8b9e94c366d3721750be07b203f3e051d11;p=xonotic%2Fxonotic-data.pk3dir.git Fix for a small bug --- diff --git a/qcsrc/menu/xonotic/keybinder.c b/qcsrc/menu/xonotic/keybinder.c index 66c3486a3..57f501f5c 100644 --- a/qcsrc/menu/xonotic/keybinder.c +++ b/qcsrc/menu/xonotic/keybinder.c @@ -240,13 +240,13 @@ void KeyBinder_Bind_Clear(entity btn, entity me) } void XonoticKeyBinder_clickListBoxItem(entity me, float i, vector where) { - if(i == me.lastClickedServer) + if(i == me.lastClickedKey) if(time < me.lastClickedTime + 0.3) { // DOUBLE CLICK! KeyBinder_Bind_Change(NULL, me); } - me.lastClickedServer = i; + me.lastClickedKey = i; me.lastClickedTime = time; } void XonoticKeyBinder_setSelected(entity me, float i)