Skip to content

Commit

Permalink
just formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 7, 2018
1 parent 0efd785 commit 882910d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/game/src/main/BSONHandlers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@ object BSONHandlers {
whitePlayer = wPlayer,
blackPlayer = bPlayer,
loadChess = loadChess,
pgnStorage = pgnFormat,
status = status,
daysPerTurn = r intO F.daysPerTurn,
binaryMoveTimes = r bytesO F.moveTimes,
loadClockHistory = () => for {
clk <- loadChess().clock
bw <- r bytesO F.whiteClockHistory
bb <- r bytesO F.blackClockHistory
history <- BinaryFormat.clockHistory.read(clk.limit, bw, bb, (status == Status.Outoftime).option(turnColor))
} yield history,
pgnStorage = pgnFormat,
status = status,
daysPerTurn = r intO F.daysPerTurn,
binaryMoveTimes = r bytesO F.moveTimes,
mode = Mode(r boolD F.rated),
next = r strO F.next,
bookmarks = r intD F.bookmarks,
Expand Down

0 comments on commit 882910d

Please sign in to comment.