From e6051f6d7e482dbaad4f262d4fdb528da74501ff Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 28 Jul 2021 21:41:02 -0400 Subject: [PATCH] Fix type error with SoundMsg node. Reported on the forum by dendwaler https://forum.guildofwriters.org/viewtopic.php?p=75543#p75543 --- korman/nodes/node_messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/nodes/node_messages.py b/korman/nodes/node_messages.py index 594266b..f7c8b86 100644 --- a/korman/nodes/node_messages.py +++ b/korman/nodes/node_messages.py @@ -803,7 +803,7 @@ class PlasmaSoundMsgNode(idprops.IDPropObjectMixin, PlasmaMessageWithCallbacksNo msg.volume = 0.0 elif self.volume == "CUSTOM": msg.setCmd(plSoundMsg.kSetVolume) - msg.volume = self.volume_pct + msg.volume = self.volume_pct / 100.0 if self.looping != "CURRENT": msg.setCmd(getattr(plSoundMsg, self.looping))