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(); }