From 5af7be42a2426e727dacd425a4e96bc20c059955 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 22 Apr 2021 08:44:59 +1000 Subject: [PATCH] - `LoadDefinitions()`: Remove if statement added in 1ea25e5d0e0f21148c33f364ee9c6cfb098e9f3f that was causing added DEF files not to load. * The loop for `userConfig.AddDefs` feels like it should be moved out of `loaddefinitionsfile()` and into `LoadDefinitions()`, but that's subject to discussion. --- source/core/gamecontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 4887ccc8a..f976fdacc 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -1367,7 +1367,7 @@ void LoadDefinitions() loaddefinitionsfile(razedefsfile, true, true); loaded = razedefsfile; } - else if (fileSystem.FileExists(defsfile)) + else { loaddefinitionsfile(defsfile, true, false); loaded = defsfile;