clock: Fix game ending too soon when using Fischer/Bronstein clocks
https://bugzilla.gnome.org/show_bug.cgi?id=779937
This commit is contained in:
parent
054c631590
commit
59111fcf8a
1 changed files with 2 additions and 2 deletions
|
@ -168,8 +168,8 @@ public class ChessClock : Object
|
|||
|
||||
tick ();
|
||||
|
||||
if (white_seconds_used >= white_initial_seconds ||
|
||||
black_seconds_used >= black_initial_seconds)
|
||||
if (white_seconds_used >= white_initial_seconds + white_extra_seconds ||
|
||||
black_seconds_used >= black_initial_seconds + black_extra_seconds)
|
||||
{
|
||||
stop ();
|
||||
expired ();
|
||||
|
|
Loading…
Reference in a new issue