Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VuhDo
VuhDo
Commits
aeb13077
Commit
aeb13077
authored
Feb 05, 2022
by
Ivaria
Browse files
Fix invalid key generation when looking up modifier keys for spell assignments
parent
90abc783
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
VuhDoOptions/VuhDoNewOptionsSpellMouse.lua
VuhDoOptions/VuhDoNewOptionsSpellMouse.lua
+1
-1
No files found.
VuhDoOptions/VuhDoNewOptionsSpellMouse.lua
View file @
aeb13077
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment