diff --git a/Classes/ClientSettings.uc b/Classes/ClientSettings.uc index 2b5bd37..535ecb7 100644 --- a/Classes/ClientSettings.uc +++ b/Classes/ClientSettings.uc @@ -171,7 +171,7 @@ simulated function LoadHitSounds() { local int i; for (i = 0; i < arraycount(sHitSound); i++) { - if (sHitSound[i] != "") + if (sHitSound[i] != "" && (sHitSound[i] ~= "none") == false) LoadedHitSound[i] = Sound(DynamicLoadObject(sHitSound[i], class'Sound', true)); else LoadedHitSound[i] = none; diff --git a/Classes/IGPlus_SettingsContent.uc b/Classes/IGPlus_SettingsContent.uc index 286c216..050c8ab 100644 --- a/Classes/IGPlus_SettingsContent.uc +++ b/Classes/IGPlus_SettingsContent.uc @@ -697,7 +697,7 @@ function SetUpHitSoundComboBox(IGPlus_ComboBox Cmb) { Cmb.EditBox.bDelayedNotify = true; Cmb.Clear(); for (i = 0; i < arraycount(Settings.sHitSound); ++i) - Cmb.AddItem(Settings.sHitSound[i], string(i)); + Cmb.AddItem(string(Settings.LoadedHitSound[i]), string(i)); } function SetUpHitSourceComboBox(IGPlus_ComboBox Cmb) {