feat: port pre-start general deletion lifecycle

This commit is contained in:
2026-07-31 05:44:36 +00:00
parent f1929be3fe
commit 71ec02d091
24 changed files with 1257 additions and 160 deletions
+4
View File
@@ -99,6 +99,10 @@ export const useSessionStore = defineStore('session', {
this.setGameToken(null);
this.status = 'public';
},
leaveGame() {
this.setGameToken(null);
this.status = this.sessionToken ? 'authed' : 'public';
},
async refreshGeneralStatus() {
if (!this.gameToken) {
this.status = this.sessionToken ? 'authed' : 'public';