Fix gender characters in house bank chest names
Baertram [06-25-18 - 09:37]
Fix gender characters in house bank chest names
Fix gender specific characters in house bank chest names (InventoryFilterDropdown)
diff --git a/IIfA/IIfABackpack.lua b/IIfA/IIfABackpack.lua
index 0d95a20..954490e 100644
--- a/IIfA/IIfABackpack.lua
+++ b/IIfA/IIfABackpack.lua
@@ -748,6 +748,8 @@ p("OnChestSelect '<<1>>' - <<2>>", choiceText, choice)
if cName == self.EMPTY_STRING then
cName = GetCollectibleName(cId)
end
+ --remove gender specific characters from house bank chest name
+ cName = zo_strformat("<<C:1>>", cName)
if cName == choiceText then
IIfA:SetInventoryListFilter("Housing Storage", ctr)
break
@@ -779,6 +781,8 @@ p("OnChestSelect '<<1>>' - <<2>>", choiceText, choice)
if cName == self.EMPTY_STRING then
cName = GetCollectibleName(cId)
end
+ --remove gender specific characters from house bank chest name
+ cName = zo_strformat("<<C:1>>", cName)
entry = comboBox:CreateItemEntry(cName, OnChestSelect)
comboBox:AddItem(entry)
end