From b1461b3645aee6a003e0aec78e493b893a8b0856 Mon Sep 17 00:00:00 2001 From: Valtos Date: Mon, 23 Sep 2024 21:03:07 +0300 Subject: [PATCH] fix retard (#706) --- Content.Client/_White/MeatyOre/MeatyOreUIController.cs | 2 +- Resources/Prototypes/_White/Mobs/Species/harpy.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Client/_White/MeatyOre/MeatyOreUIController.cs b/Content.Client/_White/MeatyOre/MeatyOreUIController.cs index 0833003f1f..738a467ea2 100644 --- a/Content.Client/_White/MeatyOre/MeatyOreUIController.cs +++ b/Content.Client/_White/MeatyOre/MeatyOreUIController.cs @@ -61,7 +61,7 @@ public sealed class MeatyOreUIController : UIController var controlledEntity = _playerManager.LocalPlayer!.ControlledEntity; - if (controlledEntity == null) + if (!controlledEntity.HasValue) return false; if (!_entityManager.HasComponent(controlledEntity)) diff --git a/Resources/Prototypes/_White/Mobs/Species/harpy.yml b/Resources/Prototypes/_White/Mobs/Species/harpy.yml index 28e6f19ce7..24414817dc 100644 --- a/Resources/Prototypes/_White/Mobs/Species/harpy.yml +++ b/Resources/Prototypes/_White/Mobs/Species/harpy.yml @@ -44,6 +44,8 @@ type: SpellSelectorBUI enum.CultEmpowerRemoveUiKey.Key: type: SpellRemoverBUI + enum.StoreUiKey.Key: + type: StoreBoundUserInterface # WD-EDIT END - type: Sprite scale: 0.9, 0.9