diff --git a/web/src/store/index.js b/web/src/store/index.js index 29598f7..a561802 100644 --- a/web/src/store/index.js +++ b/web/src/store/index.js @@ -104,6 +104,9 @@ export default new Vuex.Store({ newPlayer(state, player) { state.players.push(player); }, + setObject(state, chosenObject) { + state.chosen_object = chosenObject; + }, }, actions: { },