|
@@ -289,7 +289,9 @@ function initOkeyScene(x)
|
|
|
}
|
|
|
|
|
|
e.detail.whos_move && "null" != e.detail.whos_move &&
|
|
|
- (e.detail.next_turn_in && "null" != e.detail.next_turn_in && playersMap[e.detail.whos_move].timer.from(e.detail.next_turn_in),
|
|
|
+ (e.detail.next_turn_in && "null" != e.detail.next_turn_in &&
|
|
|
+ e.detail.next_turn_in < 30 &&
|
|
|
+ playersMap[e.detail.whos_move].timer.from(e.detail.next_turn_in),
|
|
|
e.detail.paused && (playersMap[e.detail.whos_move].timer.pause(),$overlay.show()),
|
|
|
playersMap[e.detail.whos_move].select());
|
|
|
}
|