From 1f89c55a78bf4ae625698b21cf272e1c6fbd42f0 Mon Sep 17 00:00:00 2001 From: Louvenarde Date: Mon, 6 Sep 2021 01:07:53 +0200 Subject: [PATCH] whoopsie --- src/Components/Modules/AssetInterfaces/IXModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/AssetInterfaces/IXModel.cpp b/src/Components/Modules/AssetInterfaces/IXModel.cpp index 39b49b6a..6f27ab5a 100644 --- a/src/Components/Modules/AssetInterfaces/IXModel.cpp +++ b/src/Components/Modules/AssetInterfaces/IXModel.cpp @@ -86,7 +86,7 @@ namespace Assets { Components::FileSystem::File modelFile(Utils::String::VA("xmodel/%s.iw4xModel", name.data())); - if (!builder->isPrimaryAsset() && (Components::ZoneBuilder::MatchTechsetsDvar.get() || !modelFile.exists())) + if (!builder->isPrimaryAsset() && (!Components::ZoneBuilder::PreferDiskAssetsDvar.get() || !modelFile.exists())) { header->model = Components::AssetHandler::FindOriginalAsset(this->getType(), name.data()).model; if (header->model) return;