mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 02:29:02 +00:00
MainForm - Fix checking for audio file instead of a specific name
This commit is contained in:
@@ -944,10 +944,10 @@ namespace PckStudio
|
||||
|
||||
private void audiopckToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (currentPCK.Contains("audio.pck", PckFileType.AudioFile))
|
||||
if (currentPCK.Contains(PckFileType.AudioFile))
|
||||
{
|
||||
// the chance 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");
|
||||
MessageBox.Show("There is already an audio file in this PCK!", "Can't create audio.pck");
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(saveLocation))
|
||||
|
||||
2
Vendor/OMI-Lib
vendored
2
Vendor/OMI-Lib
vendored
Submodule Vendor/OMI-Lib updated: 40795ea8a5...9ec8c2228b
Reference in New Issue
Block a user