Skip to content

Commit

Permalink
Add respect_avoids balance algo
Browse files Browse the repository at this point in the history
  • Loading branch information
jauggy authored and DeviousNull committed Oct 19, 2024
1 parent f917d10 commit fa9d61a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion var/plugins/BarManagerHelp.dat
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
!balancealgorithm <algorithm> - Sets the balance algorithm used to autobalance the teams.
"!balancealgorithm default"
"!balancealgorithm split_noobs"
"!balancealgorithm auto"
"!balancealgorithm respect_avoids"
"!balancealgorithm loser_picks"

[setAllAiBonus]
Expand Down
2 changes: 1 addition & 1 deletion var/plugins/barmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def __init__(self, context):
spads.addSpadsCommandHandler({'meme': getTeiserverStringCommandHandler("meme",
re.compile("^(undo|ticks|rich|poor|crazy|deathmatch)$"))})
spads.addSpadsCommandHandler({'balancealgorithm': getTeiserverStringCommandHandler("balancealgorithm",
re.compile("^(default|split_noobs|auto|loser_picks)$"))})
re.compile("^(default|split_noobs|respect_avoids|loser_picks)$"))})
spads.addSpadsCommandHandler({'unboss': hUnboss})

# We need to add the lobby command handlers before we are fully connected, or we dont get the JOINEDBATTLE stuff
Expand Down

0 comments on commit fa9d61a

Please sign in to comment.