Skip to content

Commit

Permalink
Make sure that skill options are compiled when setting the attribute (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kexanone authored Oct 29, 2024
1 parent 0a50297 commit 9a48e83
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class GME_BaseAISkillEditorAttribute : SCR_BaseFloatValueHolderEditorAttribute
if (!var)
return;

if (m_aValues.IsEmpty())
FillValues();

SCR_EditorAttributeFloatStringValueHolder valueHolder = m_aValues[var.GetInt()];
SetSkill(item, valueHolder.GetFloatValue());
}
Expand Down

0 comments on commit 9a48e83

Please sign in to comment.