feat: port pre-start general deletion lifecycle
This commit is contained in:
1 parent
f1929be3fe
commit
71ec02d091
24 files changed
+1257
-160
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user