Skip to content

Commit

Permalink
Add missing return for known potion effects
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Sep 13, 2022
1 parent a44e8ac commit 8101f4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EndlessClient/Rendering/Effects/EffectSpriteManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ private IList<IEffectSpriteInfo> ResolvePotionEffect(HardCodedPotionEffect effec
var retList = _potionEffects[effect];
foreach (var item in retList)
item.Restart();
return new List<IEffectSpriteInfo>(retList);
}

// potion graphics that aren't in the hard-coded list here use the same formula as spell graphics
Expand Down

0 comments on commit 8101f4a

Please sign in to comment.