slight change to audio file classes

this also fixes the "Include Overworld songs in Creative" feature. The code for that functionality was already perfect, so that hasn't been touched at all. Just needed to adjust the class a little. (:
This commit is contained in:
MattNL
2022-08-09 05:16:10 -04:00
parent beca901b80
commit 3ed5598a97
2 changed files with 6 additions and 11 deletions

View File

@@ -64,8 +64,7 @@ namespace PckStudio.Classes.IO.PCK
var parameterType = (PCKAudioFile.AudioCategory.EAudioParameterType)ReadInt(stream);
var audioType = (PCKAudioFile.AudioCategory.EAudioType)ReadInt(stream);
string name = ReadString(stream);
Console.WriteLine(name);
_file.AddCategory(parameterType, audioType);
_file.AddCategory(parameterType, audioType, name);
}
}