]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix allowRotationMirror not appearing for the YAML linter (#37343)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Sun, 11 May 2025 13:40:59 +0000 (15:40 +0200)
committerGitHub <noreply@github.com>
Sun, 11 May 2025 13:40:59 +0000 (09:40 -0400)
Initial commit

Content.Shared/Maps/ContentTileDefinition.cs

index f1b67fc6c839a92555c8b73a81689074ee6b554f..edccd1729a5541add3c68b320ec4e396d571c3c4 100644 (file)
@@ -69,6 +69,11 @@ namespace Content.Shared.Maps
 
         [DataField("variants")] public byte Variants { get; set; } = 1;
 
+        /// <summary>
+        ///     Allows the tile to be rotated/mirrored when placed on a grid.
+        /// </summary>
+        [DataField] public bool AllowRotationMirror { get; set; } = false;
+
         /// <summary>
         /// This controls what variants the `variantize` command is allowed to use.
         /// </summary>