Compare commits
1 commit
95a595773d
...
4582e8dd6f
Author | SHA1 | Date | |
---|---|---|---|
4582e8dd6f |
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const getTiebreaker = async (combatant, combatants, waiting) => {
|
|||
}
|
||||
|
||||
equals.sort();
|
||||
const positionAmongEquals = Math.floor(twist.random() * (equals.length + 1));
|
||||
const positionAmongEquals = waiting === false ? equals.length : Math.floor(twist.random() * (equals.length + 1));
|
||||
|
||||
equals.forEach((equal, index) => {
|
||||
if (index < positionAmongEquals) {
|
||||
|
|
Loading…
Reference in a new issue