ArchipelagoMW / Archipelago

Archipelago Multi-Game Randomizer and Server
https://archipelago.gg
Other
412 stars 556 forks source link

CommonClient: fix bug when using Connect button without a disconnect #3609

Open qwint opened 5 days ago

qwint commented 5 days ago

What is this fixing or adding?

makes the kivy connect button do the same username forgetting that /connect does to fix an issue where losing connection would make you unable to connect to a different server

How was this tested?

With two servers that have different valid slot names

If this makes graphical changes, please attach screenshots.

qwint commented 4 days ago

Maybe it could be considered as another bug (or not a bug at all), but I see that ctx.connect also set ctx.password. Should it also set to None?

Anyway, given this at least fix the issue when there is no password, LGTM.

invalid passwords trigger a different workflow where you can fix it, nothing (in that specific workflow) for clearing and fixing a slot, so I think that's fine