mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fourth time's a charm
This commit is contained in:
parent
2e86f51cfe
commit
d55542aa8d
@ -151,7 +151,7 @@ int Menu::PagekeyToItem(page_t page, item_t key)
|
|||||||
|
|
||||||
if (num_pages == 1 || !items_per_page)
|
if (num_pages == 1 || !items_per_page)
|
||||||
{
|
{
|
||||||
if (m_AlwaysExit && key > m_Items.size())
|
if (key > m_Items.size())
|
||||||
return MENU_EXIT;
|
return MENU_EXIT;
|
||||||
else
|
else
|
||||||
return key-1;
|
return key-1;
|
||||||
|
Loading…
Reference in New Issue
Block a user