You can no longer stab multiple peas at once (Fork Lifter)

This commit is contained in:
Braedon
2022-02-05 23:03:31 -05:00
parent 2af84478ed
commit f376e30ee2
31 changed files with 2791 additions and 363 deletions

View File

@ -295,11 +295,13 @@ namespace RhythmHeavenMania.Editor
if (changedMusic || currentRemixPath != path)
{
byte[] bytes = OggVorbis.VorbisPlugin.GetOggVorbis(Conductor.instance.musicSource.clip, 1);
var musicFile = archive.CreateEntry("song.ogg", System.IO.Compression.CompressionLevel.NoCompression);
using (var zipStream = musicFile.Open())
zipStream.Write(bytes, 0, bytes.Length);
// this gets rid of the music file for some reason, someone remind me to find a fix for this soon
}
byte[] bytes = OggVorbis.VorbisPlugin.GetOggVorbis(Conductor.instance.musicSource.clip, 1);
var musicFile = archive.CreateEntry("song.ogg", System.IO.Compression.CompressionLevel.NoCompression);
using (var zipStream = musicFile.Open())
zipStream.Write(bytes, 0, bytes.Length);
}
currentRemixPath = path;