beyond-all-reason / bar-lobby

BAR Lobby Client
https://beyond-all-reason.github.io/bar-lobby/
MIT License
37 stars 35 forks source link

3 teams shown when team are set to 2 #212

Closed 1-alex98 closed 1 year ago

1-alex98 commented 1 year ago

image

Jazcash commented 1 year ago

It always creates an empty team, this is partly by design - if the players wish to create a new team, they can join the empty team to do so, chobby also does this. For SPADS battles however, there is a set number of teams, so maybe we shouldn't show a spare team in this case if the current number of active teams is less than the max. Tbh though that sounds a bit messy and there's currently a bug in SPADS with how that info gets sent to the lobby (it doesn't always send SPADS-specific battle info message on join) so I'd rather leave that logic alone for now