* Server: fixed wrong timeouts in drafts;

This commit is contained in:
Oleg Agafonov 2021-08-01 03:06:07 +04:00
parent 0262c7f0f9
commit 73db223ca7

View file

@ -58,7 +58,7 @@ public class DraftOptions extends LimitedOptions implements Serializable {
cardNum = 15; cardNum = 15;
} }
if (times.size() <= cardNum) { if (times.size() >= cardNum) {
return times.get(cardNum - 1); return times.get(cardNum - 1);
} else { } else {
return times.get(times.size() - 1); return times.get(times.size() - 1);