From 6622c6f5164e50b17a78b446d489b743bd759806 Mon Sep 17 00:00:00 2001 From: Derek MacDonald Date: Thu, 12 Aug 2021 06:54:41 -0400 Subject: [PATCH] Skip validating unchecked game config resources (#593) --- Source/Core/Windows/ConfigForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Windows/ConfigForm.cs b/Source/Core/Windows/ConfigForm.cs index 772f7da0..19edbf18 100755 --- a/Source/Core/Windows/ConfigForm.cs +++ b/Source/Core/Windows/ConfigForm.cs @@ -395,7 +395,7 @@ namespace CodeImp.DoomBuilder.Windows { // Get configuration item ci = listconfigs.Items[i].Tag as ConfigurationInfo; - if(!ci.Resources.IsValid()) + if(listconfigs.Items[i].Checked && !ci.Resources.IsValid()) { MessageBox.Show(this, "At least one resource doesn't exist in \"" + ci.Name + "\" game configuration!", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Warning); tabs.SelectedTab = tabresources;