Commit aeb13077 authored by Ivaria's avatar Ivaria
Browse files

Fix invalid key generation when looking up modifier keys for spell assignments

parent 90abc783
......@@ -18,7 +18,7 @@ function VUHDO_newOptionsSpellSetModifier(aModifier)
tBox = _G[tPanel:GetName() .. "EditBox"];
tIndex = aModifier .. tNum;
if (VUHDO_SPELL_ASSIGNMENTS[tIndex] == nil) then
VUHDO_SPELL_ASSIGNMENTS[tIndex] = { VUHDO_MODIFIER_KEYS[tIndex], tostring(tNum), "" };
VUHDO_SPELL_ASSIGNMENTS[tIndex] = { VUHDO_MODIFIER_KEYS[aModifier], tostring(tNum), "" };
end
tModel = "VUHDO_SPELL_ASSIGNMENTS." .. tIndex .. ".##3";
tBox:SetAttribute("model", tModel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment