diff --git a/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs b/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs index b661dd3999..6c0d77889f 100644 --- a/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs +++ b/Content.Client/GameObjects/Components/Mobs/ClientStatusEffectsComponent.cs @@ -32,7 +32,7 @@ namespace Content.Client.GameObjects.Components.Mobs /// /// Allows calculating if we need to act due to this component being controlled by the current mob /// - private bool CurrentlyControlled => _playerManager.LocalPlayer.ControlledEntity == Owner; + private bool CurrentlyControlled => _playerManager.LocalPlayer != null && _playerManager.LocalPlayer.ControlledEntity == Owner; protected override void Shutdown() {