mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
*** empty log message ***
This commit is contained in:
parent
11b31673b7
commit
e85a9b00cc
@ -328,6 +328,9 @@ class ShowBase:
|
|||||||
self.wantSfx=None
|
self.wantSfx=None
|
||||||
if self.wantMusic:
|
if self.wantMusic:
|
||||||
self.musicManager = AudioManager.createAudioManager()
|
self.musicManager = AudioManager.createAudioManager()
|
||||||
|
# Turn down the music globally
|
||||||
|
# Eventually we may want to control this in the options page
|
||||||
|
self.musicManager.setVolume(0.5)
|
||||||
if not self.musicManager.isValid():
|
if not self.musicManager.isValid():
|
||||||
self.wantMusic=None
|
self.wantMusic=None
|
||||||
if not (self.wantSfx or self.wantMusic):
|
if not (self.wantSfx or self.wantMusic):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user