mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-21 07:16:07 -04:00
Session mute and buffer mute has been added to their keyboard shorcuts
This commit is contained in:
@@ -87,7 +87,7 @@ class soundSystem(object):
|
||||
|
||||
def play(self, sound, argument=False):
|
||||
if self.soundpack_OK == False: return
|
||||
if self.config["global_mute"] == True: 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"])
|
||||
self.files.append(sound_object)
|
||||
|
Reference in New Issue
Block a user