0
0
Fork 0

Add setObject state mutation.

This commit is contained in:
Oliver-Akins 2021-01-02 18:36:41 -07:00
parent 88739a8baf
commit 14cda8a50f

View file

@ -104,6 +104,9 @@ export default new Vuex.Store({
newPlayer(state, player) {
state.players.push(player);
},
setObject(state, chosenObject) {
state.chosen_object = chosenObject;
},
},
actions: {
},