From dd9894c70c1f4facb60aaaf62ed910902aa83174 Mon Sep 17 00:00:00 2001 From: Voli and Az <81529384+voliathon@users.noreply.github.com> Date: Sat, 6 Jun 2026 11:55:37 -0400 Subject: [PATCH] Fix string comparison to be case insensitive Fixes an issue where profile loading and file comparisons fail on systems/configurations with mismatching folder path casing --- addons/DressUp/helper_functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/DressUp/helper_functions.lua b/addons/DressUp/helper_functions.lua index 7d84543285..82ee8a3e20 100644 --- a/addons/DressUp/helper_functions.lua +++ b/addons/DressUp/helper_functions.lua @@ -32,7 +32,7 @@ function get_item_id(str,slot) else for k,v in pairs(models[slot]) do - if v['enl'] == str or v['name'] == str then + if (v['enl'] and v['enl']:lower() == str) or (v['name'] and v['name']:lower() == str) then item_result = k end end