- LoadDefinitions(): Remove if statement added in 1ea25e5d0e 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.
This commit is contained in:
Mitchell Richters 2021-04-22 08:44:59 +10:00
parent 14971f9569
commit 5af7be42a2

View file

@ -1367,7 +1367,7 @@ void LoadDefinitions()
loaddefinitionsfile(razedefsfile, true, true);
loaded = razedefsfile;
}
else if (fileSystem.FileExists(defsfile))
else
{
loaddefinitionsfile(defsfile, true, false);
loaded = defsfile;