mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-26 17:03:14 +08:00
save state before join public server
This commit is contained in:
parent
d16b569052
commit
449fc296d5
@ -1209,6 +1209,7 @@ class PublicGatherTab(GatherTab):
|
||||
|
||||
def on_public_party_activate(self, party: PartyEntry) -> None:
|
||||
"""Called when a party is clicked or otherwise activated."""
|
||||
self.save_state()
|
||||
if party.queue is not None:
|
||||
from bastd.ui.partyqueue import PartyQueueWindow
|
||||
ba.playsound(ba.getsound('swish'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user