Skip to content

Commit

Permalink
Minor lag refactor
Browse files Browse the repository at this point in the history
And update version to 6.11
  • Loading branch information
isaacl committed Sep 16, 2017
1 parent 04af004 commit e9698c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -2,7 +2,7 @@ name := "scalachess"

organization := "org.lichess"

version := "6.10"
version := "6.11"

scalaVersion := "2.12.3"
crossScalaVersions := Seq("2.11.11", "2.12.3")
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/Clock.scala
Expand Up @@ -99,7 +99,7 @@ case class Clock(
def goBerserk(c: Color) = updatePlayer(c) { _.copy(berserk = true) }

def berserked(c: Color) = players(c).berserk
def lag(c: Color) = players(c).lag.avgLag
def lag(c: Color) = players(c).lag

def avgLagComp = players map { _.lag.avgLagComp }

Expand Down

0 comments on commit e9698c0

Please sign in to comment.