mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Correctly mark teams as even for a one player difference (refs #102)
This commit is contained in:
parent
2bef5f87db
commit
af51a7fa60
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue