Correctly mark teams as even for a one player difference (refs #102)

This commit is contained in:
Timo Smit 2019-03-26 15:20:36 +01:00
parent 2bef5f87db
commit af51a7fa60

View file

@ -40,7 +40,7 @@ local evenerCount = 0
function balancer.balance(byAdmin, forceBalance)
local teamsDifference = teams.difference()
if teamsDifference == 0 then
if teamsDifference <= 1 then
evenerCount = 0
if byAdmin then