We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66c331c commit 313cc2fCopy full SHA for 313cc2f
1 file changed
src/lib.rs
@@ -101,7 +101,12 @@ async fn main() {
101
102
if action.changed() {
103
match action.current {
104
- TIMER_ACTION_START | TIMER_ACTION_RESTART => {
+ TIMER_ACTION_START => {
105
+ timer::start();
106
+ }
107
+ TIMER_ACTION_RESTART => {
108
+ timer::reset();
109
+ timer::pause_game_time();
110
timer::start();
111
}
112
TIMER_ACTION_SPLIT | TIMER_ACTION_END => {
0 commit comments