From 86cf3a46e223e4847b861b8e47f273edbf16fdc1 Mon Sep 17 00:00:00 2001
From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Date: Sat, 18 Jan 2025 19:58:51 +0300
Subject: [PATCH] Change MaskComponent to accommodate sprites namings (#33451)
Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
---
Content.Shared/Clothing/Components/MaskComponent.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Content.Shared/Clothing/Components/MaskComponent.cs b/Content.Shared/Clothing/Components/MaskComponent.cs
index 41b2b797f5..47f2fd3079 100644
--- a/Content.Shared/Clothing/Components/MaskComponent.cs
+++ b/Content.Shared/Clothing/Components/MaskComponent.cs
@@ -20,8 +20,11 @@ public sealed partial class MaskComponent : Component
[DataField, AutoNetworkedField]
public bool IsToggled;
+ ///
+ /// Equipped prefix to use after the mask was pulled down.
+ ///
[DataField, AutoNetworkedField]
- public string EquippedPrefix = "toggled";
+ public string EquippedPrefix = "up";
///
/// When will function normally, otherwise will not react to events
--
2.51.2