Update source/game.c

Co-authored-by: MeirGavish <meir.gavish@gmail.com>
This commit is contained in:
Elliptical
2025-08-25 16:15:07 -04:00
committed by GitHub
parent 21d85f49ab
commit 94821ffa27
+1 -1
View File
@@ -2900,7 +2900,7 @@ void game_main_menu()
}
else if (key_hit(KEY_RIGHT))
{
if (selection_x < MAIN_MENU_IMPLEMENTED_BUTTONS)
if (selection_x < MAIN_MENU_IMPLEMENTED_BUTTONS - 1)
{
selection_x++;
}