From 986b481e9ac96d2eb9bbeadf9a1f77d52f5d448d Mon Sep 17 00:00:00 2001
From: Visne <39844191+Visne@users.noreply.github.com>
Date: Sat, 27 Feb 2021 20:27:54 +0100
Subject: [PATCH] Fix verb error texture (#3439)
---
.../GameObjects/EntitySystemMessages/VerbSystemMessages.cs | 2 +-
Content.Shared/GameObjects/Verbs/VerbData.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Content.Shared/GameObjects/EntitySystemMessages/VerbSystemMessages.cs b/Content.Shared/GameObjects/EntitySystemMessages/VerbSystemMessages.cs
index c843939518..031a551343 100644
--- a/Content.Shared/GameObjects/EntitySystemMessages/VerbSystemMessages.cs
+++ b/Content.Shared/GameObjects/EntitySystemMessages/VerbSystemMessages.cs
@@ -38,7 +38,7 @@ namespace Content.Shared.GameObjects.EntitySystemMessages
public readonly string Text;
public readonly string Key;
public readonly string Category;
- public readonly SpriteSpecifier Icon;
+ public readonly SpriteSpecifier? Icon;
public readonly SpriteSpecifier? CategoryIcon;
public readonly bool Available;
diff --git a/Content.Shared/GameObjects/Verbs/VerbData.cs b/Content.Shared/GameObjects/Verbs/VerbData.cs
index 8f40a45fdf..ea68fceaf2 100644
--- a/Content.Shared/GameObjects/Verbs/VerbData.cs
+++ b/Content.Shared/GameObjects/Verbs/VerbData.cs
@@ -22,7 +22,7 @@ namespace Content.Shared.GameObjects.Verbs
///
/// Sprite of the icon that the user sees on the verb button.
///
- public SpriteSpecifier Icon { get; set; } = SpriteSpecifier.Invalid;
+ public SpriteSpecifier? Icon { get; set; }
///
/// Name of the category this button is under.
@@ -32,7 +32,7 @@ namespace Content.Shared.GameObjects.Verbs
///
/// Sprite of the icon that the user sees on the verb button.
///
- public SpriteSpecifier? CategoryIcon { get; set; } = SpriteSpecifier.Invalid;
+ public SpriteSpecifier? CategoryIcon { get; set; }
///
/// Whether this verb is visible, disabled (greyed out) or hidden.