mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
allow want-sound to turn off music and sfx too
This commit is contained in:
parent
f58343b852
commit
208787c6a4
@ -40,6 +40,9 @@ class ShowBase:
|
||||
self.wantMusic = self.config.GetBool('audio-music-active', 1)
|
||||
if not (self.wantSfx or self.wantMusic):
|
||||
self.wantAnySound = None
|
||||
if not self.wantAnySound:
|
||||
self.wantSfx = None
|
||||
self.wantMusic = None
|
||||
self.wantDIRECT = self.config.GetBool('want-directtools', 0)
|
||||
self.wantStats = self.config.GetBool('want-stats', 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user