Skip to content

Commit

Permalink
Fixes VinylPlayOn() sometimes not returning a voice
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Oct 29, 2024
1 parent 35638a4 commit daaede8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notes/Vinyl Start Guide/Vinyl Start Guide.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Vinyl 6.1 Start Guide
Vinyl 6.2 Start Guide



Expand Down
2 changes: 1 addition & 1 deletion scripts/VinylPlayOn/VinylPlayOn.gml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function VinylPlayOn(_emitter, _pattern, _loop = undefined, _gain = 1, _pitch =

if (is_handle(_pattern))
{
__VinylEnsurePatternSound(_pattern).__Play(_emitter, _loop, _gain, _pitch, _duckerName, _duckPrio);
return __VinylEnsurePatternSound(_pattern).__Play(_emitter, _loop, _gain, _pitch, _duckerName, _duckPrio);
}
else if (is_string(_pattern))
{
Expand Down

0 comments on commit daaede8

Please sign in to comment.