fix storm score upload fails if errors=0

This commit is contained in:
Thibault Duplessis 2021-01-27 11:13:45 +01:00
parent cc91171bca
commit f94531d9db

View file

@ -23,7 +23,7 @@ object StormForm {
"puzzles" -> number(min = 1, max = 200),
"score" -> number(min = 1, max = 200),
"moves" -> number(min = 1, max = 900),
"errors" -> number(min = 1, max = 50),
"errors" -> number(min = 0, max = 50),
"combo" -> number(min = 1, max = 900),
"time" -> number(min = 1, max = 900),
"highest" -> number(min = lila.rating.Glicko.minRating, max = 4000),