From e980aeeae9b1b6bc15cd118e8631cd40efba8656 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sat, 23 Mar 2024 18:15:30 +0100 Subject: [PATCH] MainForm - Fix checking for audio file instead of a specific name --- PCK-Studio/MainForm.cs | 4 ++-- Vendor/OMI-Lib | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index 2b1e36a4..1de0c877 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -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)) diff --git a/Vendor/OMI-Lib b/Vendor/OMI-Lib index 40795ea8..9ec8c222 160000 --- a/Vendor/OMI-Lib +++ b/Vendor/OMI-Lib @@ -1 +1 @@ -Subproject commit 40795ea8a58eb1bd4933f1cf50315d5aea4909ef +Subproject commit 9ec8c2228bbbda2c415f91d284d391a2a9152a3d