shard sound set to own bus and channel (fixes #53) (fixes #54)

This commit is contained in:
pennyrigate 2023-02-26 17:05:11 -05:00
parent 1b7d93195f
commit d802ce13b7
6 changed files with 33 additions and 7 deletions

View file

@ -62,3 +62,5 @@ func _set_sound_volume(value):
sound_volume = value
var idx = AudioServer.get_bus_index("sound")
AudioServer.set_bus_volume_db(idx, linear2db(value))
idx = AudioServer.get_bus_index("shard")
AudioServer.set_bus_volume_db(idx, linear2db(value))