Browse Source

Only unpause when actually paused

k4be 1 year ago
parent
commit
6c3b2c61b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      soft/main.c

+ 2 - 0
soft/main.c

@@ -272,6 +272,8 @@ void close_files(unsigned char flush_logs) {
 }
 
 static inline void auto_unpause(void) {
+	if (!System.tracking_auto_paused)
+		return;
 	System.tracking_auto_paused = 0;
 	beep(50, 4);
 }