Changed a proc's return to next

This commit is contained in:
Maruno17
2020-09-27 18:07:42 +01:00
parent cdc36e45ed
commit 1cf6f44016

View File

@@ -108,7 +108,7 @@ def pbPlaySoundData(samples,volume,async=false,sampleFreq=11025)
ret = name
break
end
return ret
next ret
}
playThenDelete = proc { |path,volume,length,_async|
next if !path || !safeExists?(path)