Skip to content

Commit

Permalink
Revert "Execute apply chain before considering effect applied"
Browse files Browse the repository at this point in the history
This reverts commit c1fdfff.
  • Loading branch information
Xsear committed Feb 11, 2024
1 parent 1bf656b commit 6b28709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UdpHosts/GameServer/Systems/Aptitude/AbilitySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public void DoApplyEffect(uint effectId, IAptitudeTarget target, Context context
applyContext.ExecutionHint = ExecutionHint.ApplyEffect;

var effect = Factory.LoadEffect(effectId);
effect.ApplyChain?.Execute(applyContext);
target.AddEffect(effect, applyContext);
effect.ApplyChain?.Execute(applyContext);

foreach (var pair in applyContext.Actives)
{
Expand Down

0 comments on commit 6b28709

Please sign in to comment.