From 8a1e00fca6874cecfa5165a62244328157bf71be Mon Sep 17 00:00:00 2001 From: Shoham Peller Date: Mon, 2 Jun 2025 22:52:55 +0300 Subject: [PATCH] Fix clock tool resets times correctly for both players Fixes #1726 --- lib/src/model/clock/clock_tool_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/model/clock/clock_tool_controller.dart b/lib/src/model/clock/clock_tool_controller.dart index 0a81bdb9d1..786e525da7 100755 --- a/lib/src/model/clock/clock_tool_controller.dart +++ b/lib/src/model/clock/clock_tool_controller.dart @@ -160,7 +160,7 @@ class ClockToolController extends _$ClockToolController { bottomMoves: 0, ); _clock.stop(); - _clock.setTimes(blackTime: state.options.topTime, whiteTime: state.options.topTime); + _clock.setTimes(blackTime: state.options.topTime, whiteTime: state.options.bottomTime); // Reset low time sound flags for both players _hasPlayedLowTimeSound[ClockSide.top] = false; _hasPlayedLowTimeSound[ClockSide.bottom] = false;