Skip to content

How works the table "players" (Townsquare.vue) #305

Answered by bra1n
MRegnard asked this question in Q&A
Discussion options

You must be logged in to vote

The RoleModal.vue will get the "seat" (the index) of the player that you're selecting a role for, but in case it's a bluff, it will receive a negative index. This is checked against here and if it finds a negative index, it will update the bluffs instead of the players.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MRegnard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants