diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 02:23:05 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-09 02:23:05 -0600 |
commit | 23be929353d4583edbd8621cd755f8a636c3fd90 (patch) | |
tree | 36d7502dbe628502eb7708c4617d1931420c8a66 /src/mainMenu.c | |
parent | 708072e716e7ab22a37f528311a433f195f75054 (diff) |
soldato asset added
Diffstat (limited to 'src/mainMenu.c')
-rw-r--r-- | src/mainMenu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainMenu.c b/src/mainMenu.c index fc67972..c0568f9 100644 --- a/src/mainMenu.c +++ b/src/mainMenu.c @@ -1,5 +1,6 @@ #include "mainMenu.h" #include "game.h" +#include "gameScreen.h" void initMainMenu(Game * game) { game->mainMenu = (MainMenu){ @@ -25,7 +26,7 @@ void updateMainMenu(Game * game) { bool start = GuiButton(mainMenu->startButton, "Start"); if (start) - game->screenId = SCREEN_GAME; + openGameScreen(game); if (IsWindowResized()) resizeMainMenu(game); |