Fixing skill name displaying wrong skill

This commit is contained in:
Rukira 2026-05-18 12:07:22 +01:00
parent 7aa874ca18
commit ee9989d189
2 changed files with 0 additions and 3 deletions

3
UI.lua
View file

@ -682,9 +682,6 @@ function AltSystem:RefreshSkillDropdown()
AltSystem.State.selectedSkillIndex = i
AltSystem.State.selectedSkillName = AltSystem.Data.Skills[i] and AltSystem.Data.Skills[i].name or nil
AltSystem.SkillDropdown.label:SetText(option.text)
if AltSystem.SetSkillIndex then
AltSystem.SetSkillIndex(i)
end
if AltSystem.UpdateSkillWarning then
AltSystem.UpdateSkillWarning(i)
end