Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states
This commit is contained in:
@@ -128,5 +128,13 @@ public partial class Marketplace : Control
|
||||
private void OnSkillButtonPressed(SkillButton button)
|
||||
{
|
||||
SkillUnlockerComponent.SkillManager.ToggleSkillActivation(button.Data);
|
||||
|
||||
foreach (var btn in _skillButtons)
|
||||
{
|
||||
if (btn.Data.IsActive)
|
||||
btn.Activate();
|
||||
else
|
||||
btn.Deactivate();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user