This commit is contained in:
Bunny67
2020-06-09 01:31:52 +03:00
parent 3b54dc21ef
commit 8668927b19
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ local function SoundPlay(self, options)
SoundPlayHelper(self);
local loop = options.do_loop or options.sound_type == "Loop";
if (loop and options.sound_repeat and options.sound_repeat < WeakAuras.maxTimerDuration) then
if (loop and options.sound_repeat) then
self.soundRepeatTimer = WeakAuras.timer:ScheduleRepeatingTimer(SoundPlayHelper, options.sound_repeat, self);
end
WeakAuras.StopProfileSystem("sound");