File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1698,7 +1698,9 @@ export abstract class OGSConnectivity extends GobanInteractive {
16981698 }
16991699 clock . pause_state = AdHocPauseControl2JGOFPauseState ( this . pause_control ) ;
17001700 if ( clock . pause_state . stone_removal ) {
1701- clock . stone_removal_time_left = original_clock . expiration - current_server_time ;
1701+ clock . stone_removal_time_left =
1702+ ( original_clock . stone_removal_expiration ?? original_clock . expiration ) -
1703+ current_server_time ;
17021704 }
17031705 }
17041706
Original file line number Diff line number Diff line change @@ -89,6 +89,13 @@ export interface AdHocClock {
8989 * `expiration` (in ms) */
9090 start_mode ?: boolean ;
9191
92+ /** If true, the game is in stone removal phase */
93+ stone_removal_mode ?: boolean ;
94+
95+ /** Time the stone removal phase will end if no action is taken,
96+ * in milliseconds since 1970. Only set when stone_removal_mode is true. */
97+ stone_removal_expiration ?: number ;
98+
9299 /** If set, this AdHocClock is updating the pause state */
93100 pause ?: {
94101 paused : boolean ;
You can’t perform that action at this time.
0 commit comments