]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Change MaskComponent to accommodate sprites namings (#33451)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Sat, 18 Jan 2025 16:58:51 +0000 (19:58 +0300)
committerGitHub <noreply@github.com>
Sat, 18 Jan 2025 16:58:51 +0000 (08:58 -0800)
Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co>
Content.Shared/Clothing/Components/MaskComponent.cs

index 41b2b797f5d87fc0cb426b3e4588b5224c5a025a..47f2fd3079c22aeed2ec896d75cb62157f92ac7e 100644 (file)
@@ -20,8 +20,11 @@ public sealed partial class MaskComponent : Component
     [DataField, AutoNetworkedField]
     public bool IsToggled;
 
+    /// <summary>
+    /// Equipped prefix to use after the mask was pulled down.
+    /// </summary>
     [DataField, AutoNetworkedField]
-    public string EquippedPrefix = "toggled";
+    public string EquippedPrefix = "up";
 
     /// <summary>
     /// When <see langword="true"/> will function normally, otherwise will not react to events