Răsfoiți Sursa

On behalf of Prezmek; I am chcking it in

Asad M. Zaman 18 ani în urmă
părinte
comite
9fad0977ff
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      direct/src/interval/SoundInterval.py

+ 2 - 0
direct/src/interval/SoundInterval.py

@@ -123,6 +123,8 @@ class SoundInterval(Interval.Interval):
         # let the audio subsystem loop it
         # let the audio subsystem loop it
         if (self._seamlessLoop and self._soundPlaying and self.getLoop()
         if (self._seamlessLoop and self._soundPlaying and self.getLoop()
             and not hasattr(self, '_inFinish')):
             and not hasattr(self, '_inFinish')):
+            base.sfxPlayer.setFinalVolume(self.sound, self.node, self.volume,
+                                          self.listenerNode)
             return
             return
         elif self.sound != None:
         elif self.sound != None:
             self.sound.stop()
             self.sound.stop()