Fix incorrect setup for OGG loading

This commit is contained in:
Pyral 2024-12-04 08:50:41 -05:00
parent a70b7bf633
commit 02f5c8fa55

View File

@ -30,7 +30,7 @@ static func load_mp3(buffer:PackedByteArray)->AudioStreamMP3:
static func load_ogg(buffer:PackedByteArray)->AudioStreamOggVorbis:
var sfx := AudioStreamOggVorbis.new()
sfx.data = buffer
sfx.load_from_buffer(buffer)
return sfx
static func load_txt(buffer:PackedByteArray)->String: