mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +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) {
|
function toggleHand(channel, hand, senderUUID, localOnly) {
|
||||||
activeHand = JSON.parse(hand);
|
if (channel === "toggleHand") {
|
||||||
|
activeHand = JSON.parse(hand);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Messages.subscribe("toggleHand");
|
Messages.subscribe("toggleHand");
|
||||||
|
|
Loading…
Reference in a new issue