From 437f22ed72ecb821362fed420778ec20a98433dd Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 24 Jul 2025 00:37:28 +0100 Subject: [PATCH] Typo fix --- components/lua/configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lua/configuration.cpp b/components/lua/configuration.cpp index 0bd04c1359..858137ab73 100644 --- a/components/lua/configuration.cpp +++ b/components/lua/configuration.cpp @@ -55,7 +55,7 @@ namespace LuaUtil // Find duplicates; only the last occurrence will be used (unless `sMerge` flag is used). // Search for duplicates is case insensitive. std::vector skip(cfg.mScripts.size(), false); - for (int i = 0; i < static_cast(mScripts.size()); ++i) + for (int i = 0; i < static_cast(cfg.mScripts.size()); ++i) { const ESM::LuaScriptCfg& script = cfg.mScripts[i]; bool global = script.mFlags & ESM::LuaScriptCfg::sGlobal;