Fix ClientStatusEffectsComponent not cleaning up GUI on shutdown correctly.
This commit is contained in:
@@ -76,10 +76,6 @@ namespace Content.Client.GameObjects.Components.Mobs
|
|||||||
|
|
||||||
private void PlayerDetached()
|
private void PlayerDetached()
|
||||||
{
|
{
|
||||||
if (!CurrentlyControlled)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_ui?.Dispose();
|
_ui?.Dispose();
|
||||||
_ui = null;
|
_ui = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user