mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 07:23:37 +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:
|
def on_public_party_activate(self, party: PartyEntry) -> None:
|
||||||
"""Called when a party is clicked or otherwise activated."""
|
"""Called when a party is clicked or otherwise activated."""
|
||||||
|
self.save_state()
|
||||||
if party.queue is not None:
|
if party.queue is not None:
|
||||||
from bastd.ui.partyqueue import PartyQueueWindow
|
from bastd.ui.partyqueue import PartyQueueWindow
|
||||||
ba.playsound(ba.getsound('swish'))
|
ba.playsound(ba.getsound('swish'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user