Correctly mark teams as even for a one player difference (refs #102)
This commit is contained in:
parent
2bef5f87db
commit
af51a7fa60
|
@ -40,7 +40,7 @@ local evenerCount = 0
|
||||||
function balancer.balance(byAdmin, forceBalance)
|
function balancer.balance(byAdmin, forceBalance)
|
||||||
local teamsDifference = teams.difference()
|
local teamsDifference = teams.difference()
|
||||||
|
|
||||||
if teamsDifference == 0 then
|
if teamsDifference <= 1 then
|
||||||
evenerCount = 0
|
evenerCount = 0
|
||||||
|
|
||||||
if byAdmin then
|
if byAdmin then
|
||||||
|
|
Loading…
Reference in New Issue