Fix ClientStatusEffectsComponent breaking after re-attaching to mob.

Fixes #689
This commit is contained in:
Pieter-Jan Briers
2020-02-13 23:18:34 +01:00
parent aa37c0121a
commit 7f9d2f9dbf

View File

@@ -81,6 +81,7 @@ namespace Content.Client.GameObjects.Components.Mobs
return; return;
} }
_ui?.Dispose(); _ui?.Dispose();
_ui = null;
} }
public void UpdateIcons() public void UpdateIcons()