From 09454e3ab4827be8a90ce34f77d6bbe699ce5a79 Mon Sep 17 00:00:00 2001 From: Priec Date: Mon, 17 Nov 2025 11:30:52 +0100 Subject: [PATCH] crawl trigger bug fixed --- semestralka1/src/game/state.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/semestralka1/src/game/state.cpp b/semestralka1/src/game/state.cpp index 50ed0a9..22a26ac 100644 --- a/semestralka1/src/game/state.cpp +++ b/semestralka1/src/game/state.cpp @@ -106,6 +106,7 @@ void WalkingState::start_crawl(PlayerState crawl_type) { return; current_state = crawl_type; + state_timer.stop(); state_timer.reset(); state_timer.start(); }