Skip to content

Commit 9285154

Browse files
authored
Update Speaker.cs
1 parent 3f7ce95 commit 9285154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EXILED/Exiled.API/Features/Toys/Speaker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public void PlayWav(string path, bool stream = false, bool destroyAfter = false,
321321

322322
Loop = loop;
323323
DestroyAfter = destroyAfter;
324-
source = stream ? new WavStreamSource(path) : new PreloadedPcmSource(WavUtility.WavToPcm(path));
324+
source = stream ? new WavStreamSource(path) : new PreloadedPcmSource(path);
325325
playBackRoutine = Timing.RunCoroutine(PlayBackCoroutine().CancelWith(GameObject));
326326
}
327327

0 commit comments

Comments
 (0)