Sound player module take volume config properly
This commit is contained in:
@@ -81,6 +81,6 @@ class soundSystem(object):
|
||||
if self.soundpack_OK == False: return
|
||||
if self.config["session_mute"] == True: return
|
||||
sound_object = sound_lib.stream.FileStream(file="%s/%s" % (self.path, sound))
|
||||
sound_object.volume = float(self.config["volume"])
|
||||
sound_object.volume = self.config["volume"]/100
|
||||
self.files.append(sound_object)
|
||||
sound_object.play()
|
||||
|
Reference in New Issue
Block a user