mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-21 06:39:26 -06:00
now checks base.wantSfx instead of base.wantAnySound
This commit is contained in:
@@ -27,7 +27,7 @@ class SoundInterval(Interval):
|
||||
# Record instance variables
|
||||
self.sound = sound
|
||||
self.loop = loop
|
||||
self.wantSound = base.wantAnySound
|
||||
self.wantSound = base.wantSfx
|
||||
# If no duration given use sound's duration as interval's duration
|
||||
if duration == 0.0:
|
||||
if self.wantSound:
|
||||
|
||||
Reference in New Issue
Block a user