fix #4268
This commit is contained in:
parent
0aa587d0ea
commit
802a5fa6dd
|
@ -242,7 +242,7 @@ trait GameHelper { self: I18nHelper with UserHelper with AiHelper with StringHel
|
|||
}
|
||||
|
||||
def challengeTitle(c: lila.challenge.Challenge)(implicit ctx: UserContext) = {
|
||||
val speed = c.clock.map(_.config).fold(I18nKeys.unlimited.txt()) { clock =>
|
||||
val speed = c.clock.map(_.config).fold(chess.Speed.Correspondence.name) { clock =>
|
||||
s"${chess.Speed(clock).name} (${clock.show})"
|
||||
}
|
||||
val variant = c.variant.exotic ?? s" ${c.variant.name}"
|
||||
|
|
Loading…
Reference in a new issue