client: start game
This commit is contained in:
parent
ddcce45238
commit
46a8f8ef84
@ -1,3 +1,7 @@
|
||||
export default async function() {
|
||||
alert('start game!')
|
||||
const { store } = this.context
|
||||
|
||||
await this.callApi('/api/startGame', {
|
||||
g: store.state.engine.user?.game,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user