From 7f9d2f9dbf327452537a7efc66036d707a60fe07 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 13 Feb 2020 23:18:34 +0100 Subject: [PATCH] Fix ClientStatusEffectsComponent breaking after re-attaching to mob. Fixes #689 --- .../GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs b/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs index 6c0d77889f..0e915772a4 100644 --- a/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs +++ b/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs @@ -81,6 +81,7 @@ namespace Content.Client.GameObjects.Components.Mobs return; } _ui?.Dispose(); + _ui = null; } public void UpdateIcons()