]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/skinlist.c
fix the picker code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / skinlist.c
index bcb62251aa9f30650c41894a486add3546383ae4..864b3054a5bb85dccbabb3b538ecf76bc0b8fb82 100644 (file)
@@ -195,7 +195,7 @@ void XonoticSkinList_clickListBoxItem(entity me, float i, vector where)
 
 float XonoticSkinList_keyDown(entity me, float scan, float ascii, float shift)
 {
-       if(scan == K_ENTER) {
+       if(scan == K_ENTER || scan == K_KP_ENTER) {
                me.setSkin(me);
                return 1;
        }