mirror of
https://github.com/CapsAdmin/wowozela.git
synced 2025-03-04 03:13:27 -05:00
Reset the sample when enabling looping
This commit is contained in:
parent
756dd3c172
commit
86fdb24332
@ -597,8 +597,9 @@ do -- sample meta
|
||||
end
|
||||
else
|
||||
for k,v in pairs(self.Samples) do
|
||||
if not v.looping and IsValid(v.obj) then
|
||||
if IsValid(v.obj) and not v.looping then
|
||||
v.obj:EnableLooping(true)
|
||||
v.obj:SetTime(0)
|
||||
v.looping = true
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user