-
Hi! I am creating code for special votes, and I just noticed a big issue.
And now, I have my special nomination which works perfectly, but only for the Story Teller. This change wasn't updated for players, like if the file So, what I must add to send this nomination to all players? Is it the way to call this function from one folder up? Or must I manually add a command? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey, |
Beta Was this translation helpful? Give feedback.
You will probably also need to update the socket.js to account for the new
nomination
data structure: https://github.com/bra1n/townsquare/blob/develop/src/store/socket.js#L677And then how the data sent through the socket is handled on the player side here:
https://github.com/bra1n/townsquare/blob/develop/src/store/socket.js#L157