fix for JSON parse exception

This commit is contained in:
Anthony J. Thibault 2017-01-18 10:53:11 -08:00
parent 28dac9d802
commit 448e3fda0c

View file

@ -60,7 +60,9 @@
}
function toggleHand(channel, hand, senderUUID, localOnly) {
activeHand = JSON.parse(hand);
if (channel === "toggleHand") {
activeHand = JSON.parse(hand);
}
}
Messages.subscribe("toggleHand");