VITA/NX: Always reset to item 0 when flipping page

This commit is contained in:
cypress 2023-12-29 17:40:50 -05:00 committed by GitHub
parent 3c15d7d6e9
commit 2545fffde3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1726,8 +1726,10 @@ void M_Menu_Maps_Key (int key)
M_Menu_SinglePlayer_f ();
} else if (m_maps_cursor == 16) {
current_custom_map_page--;
m_map_cursor = 0;
} else if (m_maps_cursor == 15) {
current_custom_map_page++;
m_map_cursor = 0;
} else {
if (sv.active)
Cbuf_AddText ("disconnect\n");