Fixing skill name displaying wrong skill

This commit is contained in:
Gonçalo Correia 2026-05-18 12:07:22 +01:00
parent 6ebb92c62b
commit 00a361157c
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