mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 15:24:33 +00:00
Re added "audio.pck" filename just in case
This commit is contained in:
@@ -849,6 +849,12 @@ namespace PckStudio
|
||||
MessageBox.Show("There is already an music cues PCK present in this PCK!", "Can't create audio.pck");
|
||||
return;
|
||||
}
|
||||
else if (currentPCK.Files.FindIndex(file => file.Filename == "audio.pck") != -1)
|
||||
{
|
||||
// the chances of this happening is really really slim but just in case
|
||||
MessageBox.Show("There is already a file in this PCK named \"audio.pck\"!", "Can't create audio.pck");
|
||||
return;
|
||||
}
|
||||
if (String.IsNullOrEmpty(saveLocation))
|
||||
{
|
||||
MessageBox.Show("You must save your pck before creating or opening a music cues PCK file", "Can't create audio.pck");
|
||||
|
||||
Reference in New Issue
Block a user