float XonoticMapList_keyDown(entity me, float scan, float ascii, float shift)
{
string ch, save;
+ if(me.nItems <= 0)
+ return SUPER(XonoticMapList).keyDown(me, scan, ascii, shift);
if(scan == K_ENTER || scan == K_KP_ENTER)
{
// pop up map info screen
me.nItems = gethostcachevalue(SLIST_HOSTCACHEVIEWCOUNT);
me.connectButton.disabled = ((me.nItems == 0) && (me.ipAddressBox.text == ""));
- me.infoButton.disabled = ((me.nItems == 0) || !owned);
+ me.infoButton.disabled = me.favoriteButton.disabled = ((me.nItems == 0) || !owned);
found = 0;
if(me.selectedServer)