From 678f5cc91769dda1b63c6ea6ce81d7ee55fa730f Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 27 Sep 2024 16:34:58 -0400 Subject: [PATCH] Quick fix for the clock to not start right away. --- sfmlbackend.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfmlbackend.hpp b/sfmlbackend.hpp index 8879e22..01aa443 100644 --- a/sfmlbackend.hpp +++ b/sfmlbackend.hpp @@ -56,7 +56,7 @@ class SFMLBackend { sf::Sprite start_button; sf::Texture start_texture; std::chrono::time_point clock_start; - Button buttons = Button::NONE; + Button buttons = Button::STOP; int hit_points = 50; sf::Font font; GameEngine &game;