add admin ability to double card values
This commit is contained in:
parent
a4b0297c3f
commit
81ee2200fb
5 changed files with 22 additions and 1 deletions
|
|
@ -174,6 +174,8 @@ function setup_ws() {
|
|||
} else if (action === "sound" && args.sound) {
|
||||
const { client_id, sound } = args
|
||||
sounds[client_id] = new Audio(`sounds/${sound}.mp3`)
|
||||
} else if (action === "double") {
|
||||
q("#board").contentWindow.postMessage("double", "*")
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue