export default function(data) { const { store } = this.context store.commit('engine/setJson', data) store.commit('game/setStateAndPhase', data.game) store.commit('round/setRound', data.game.round) }