diff --git a/TakoTako/MusicPatch.cs b/TakoTako/MusicPatch.cs index 1b5e985..def04d6 100644 --- a/TakoTako/MusicPatch.cs +++ b/TakoTako/MusicPatch.cs @@ -308,7 +308,7 @@ public class MusicPatch File.WriteAllBytes(filePath, compressedMemoryStream.ToArray()); } - song.AreFilesGZipped = true; + song.areFilesGZipped = true; File.WriteAllText(dataPath, JsonConvert.SerializeObject(song)); SubmitDirectory(directory, true); @@ -1424,7 +1424,7 @@ public class MusicPatch type.GetField("fumenPath").SetValue(__instance, newPath); byte[] array = File.ReadAllBytes(newPath); - if (songInstance.AreFilesGZipped) + if (songInstance.areFilesGZipped) { using var memoryStream = new MemoryStream(array); using var destination = new MemoryStream(); @@ -1585,7 +1585,7 @@ public class MusicPatch var newPath = Path.Combine(songInstance.FolderPath, $"{sheetName.Replace(songName, songInstance.SongName)}.bin"); var bytes = File.ReadAllBytes(newPath); - if (songInstance.AreFilesGZipped) + if (songInstance.areFilesGZipped) { using var memoryStream = new MemoryStream(bytes); using var destination = new MemoryStream(); @@ -1658,7 +1658,7 @@ public class MusicPatch } var bytes = File.ReadAllBytes(newPath); - if (songInstance.AreFilesGZipped) + if (songInstance.areFilesGZipped) { using var memoryStream = new MemoryStream(bytes); using var destination = new MemoryStream(); diff --git a/TakoTakoScripts/TakoTako.Common/CustomSong.cs b/TakoTakoScripts/TakoTako.Common/CustomSong.cs index 224f14b..2080763 100644 --- a/TakoTakoScripts/TakoTako.Common/CustomSong.cs +++ b/TakoTakoScripts/TakoTako.Common/CustomSong.cs @@ -45,7 +45,7 @@ namespace TakoTako.Common [DataMember] public int previewPos; [DataMember] public int fumenOffsetPos; - [DataMember] public bool AreFilesGZipped; + [DataMember] public bool areFilesGZipped; // LocalisationDetails ///