socket: table should have decoded dicerolls on first connect
This commit is contained in:
parent
8804908923
commit
849c27b7cf
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function dial() {
|
|||
data.diceRolls.forEach(r=>{
|
||||
r.roll = Uint8Array.from(atob(r.roll), c => c.charCodeAt(0))
|
||||
})
|
||||
table = JSON.parse(e.data);
|
||||
table = data;
|
||||
} else {
|
||||
// UPDATE THE TABLE!
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue