mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
Update volume in sound-group sog3 to sfx-volume (#3574)
Some checks failed
Build / 🍎 MacOS (push) Has been cancelled
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Inform Pages Repo / Generate Documentation (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
Lint / 📝 Optional Checks (push) Has been cancelled
Some checks failed
Build / 🍎 MacOS (push) Has been cancelled
Build / 🖥️ Windows (push) Has been cancelled
Build / 🐧 Linux (push) Has been cancelled
Inform Pages Repo / Generate Documentation (push) Has been cancelled
Lint / 📝 Formatting (push) Has been cancelled
Lint / 📝 Required Checks (push) Has been cancelled
Lint / 📝 Optional Checks (push) Has been cancelled
Adds a way to override certain sounds that don't respect the settings that they should... https://github.com/open-goal/jak-project/assets/89345505/97d9518d-aafd-4227-b25f-82c5d32e811e
This commit is contained in:
parent
b4113dda67
commit
291c89a851
|
@ -157,7 +157,9 @@
|
|||
(when *sound-player-enable*
|
||||
(when (!= (-> gp-0 sfx-volume) (-> s5-1 sfx-volume))
|
||||
(seek! (-> gp-0 sfx-volume) (-> s5-1 sfx-volume) (* 100.0 (seconds-per-frame)))
|
||||
(sound-set-volume (sound-group sfx) (-> gp-0 sfx-volume)))
|
||||
(sound-set-volume (sound-group sfx) (-> gp-0 sfx-volume))
|
||||
;; og:preserve-this Fix for menu-close
|
||||
(sound-set-volume (sound-group sog3) (-> gp-0 sfx-volume)))
|
||||
(when (!= (-> gp-0 music-volume) (-> s5-1 music-volume))
|
||||
(seek! (-> gp-0 music-volume) (-> s5-1 music-volume) (* 100.0 (seconds-per-frame)))
|
||||
(sound-set-volume (sound-group music) (-> gp-0 music-volume)))
|
||||
|
|
Loading…
Reference in a new issue