aboutsummaryrefslogtreecommitdiff
path: root/src/screens/howToPlayScreen.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 12:37:18 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 12:37:18 -0700
commit0be4fca7d5d05fe3cb161ed92218277f4af739e0 (patch)
tree1f2ddf753176698082433827bb47365671a476e6 /src/screens/howToPlayScreen.c
parentad66d7ade0528829a48ac4426d952ec882ef4329 (diff)
Some info screen stuff
Diffstat (limited to 'src/screens/howToPlayScreen.c')
-rw-r--r--src/screens/howToPlayScreen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screens/howToPlayScreen.c b/src/screens/howToPlayScreen.c
index 8c31c20..ff6ccd2 100644
--- a/src/screens/howToPlayScreen.c
+++ b/src/screens/howToPlayScreen.c
@@ -16,9 +16,7 @@ void updateHowToPlayScreen(Game * game) {
ClearBackground(RAYWHITE);
// Back to main menu button.
- bool backPressed = GuiButton(howToPlayScreen->goBackButton, "back");
-
- if (backPressed)
+ if (GuiButton(howToPlayScreen->goBackButton, "Back"))
game->screenId = SCREEN_MAIN_MENU;
// Info text.