mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 04:17:45 +02:00
fix for JSON parse exception
This commit is contained in:
parent
28dac9d802
commit
448e3fda0c
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@
|
|||
}
|
||||
|
||||
function toggleHand(channel, hand, senderUUID, localOnly) {
|
||||
activeHand = JSON.parse(hand);
|
||||
if (channel === "toggleHand") {
|
||||
activeHand = JSON.parse(hand);
|
||||
}
|
||||
}
|
||||
|
||||
Messages.subscribe("toggleHand");
|
||||
|
|
Loading…
Reference in a new issue