comment for game expiration API BC
parent
996d7943e6
commit
205673b20a
|
@ -158,6 +158,7 @@ private[api] final class RoundApi(
|
|||
"running" -> data.tour.isStarted
|
||||
).add("secondsToFinish" -> data.tour.isStarted.option(data.tour.secondsToFinish))
|
||||
.add("berserkable" -> data.tour.isStarted.option(data.tour.berserkable))
|
||||
// mobile app API BC / should use game.expiration instead
|
||||
.add("nbSecondsForFirstMove" -> data.tour.isStarted.option {
|
||||
pov.game.timeForFirstMove.toSeconds
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue