Fix verb error texture (#3439)

This commit is contained in:
Visne
2021-02-27 20:27:54 +01:00
committed by GitHub
parent acc17f7a67
commit 986b481e9a
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ namespace Content.Shared.GameObjects.EntitySystemMessages
public readonly string Text; public readonly string Text;
public readonly string Key; public readonly string Key;
public readonly string Category; public readonly string Category;
public readonly SpriteSpecifier Icon; public readonly SpriteSpecifier? Icon;
public readonly SpriteSpecifier? CategoryIcon; public readonly SpriteSpecifier? CategoryIcon;
public readonly bool Available; public readonly bool Available;

View File

@@ -22,7 +22,7 @@ namespace Content.Shared.GameObjects.Verbs
/// <summary> /// <summary>
/// Sprite of the icon that the user sees on the verb button. /// Sprite of the icon that the user sees on the verb button.
/// </summary> /// </summary>
public SpriteSpecifier Icon { get; set; } = SpriteSpecifier.Invalid; public SpriteSpecifier? Icon { get; set; }
/// <summary> /// <summary>
/// Name of the category this button is under. /// Name of the category this button is under.
@@ -32,7 +32,7 @@ namespace Content.Shared.GameObjects.Verbs
/// <summary> /// <summary>
/// Sprite of the icon that the user sees on the verb button. /// Sprite of the icon that the user sees on the verb button.
/// </summary> /// </summary>
public SpriteSpecifier? CategoryIcon { get; set; } = SpriteSpecifier.Invalid; public SpriteSpecifier? CategoryIcon { get; set; }
/// <summary> /// <summary>
/// Whether this verb is visible, disabled (greyed out) or hidden. /// Whether this verb is visible, disabled (greyed out) or hidden.