client: start game

This commit is contained in:
Settel 2021-08-13 00:43:16 +02:00
parent ddcce45238
commit 46a8f8ef84

View File

@ -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,
})
}