From 313ae134519e34a0830f0260533e32ccc85494c5 Mon Sep 17 00:00:00 2001 From: dnqbob Date: Sun, 3 Nov 2024 14:45:03 +0800 Subject: [PATCH] Set ZOffset and Offset default value to 0 --- OpenRA.Mods.AS/Traits/World/TintedCellsLayer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.AS/Traits/World/TintedCellsLayer.cs b/OpenRA.Mods.AS/Traits/World/TintedCellsLayer.cs index ce4b3bf8dc28..46c7aca22cf9 100644 --- a/OpenRA.Mods.AS/Traits/World/TintedCellsLayer.cs +++ b/OpenRA.Mods.AS/Traits/World/TintedCellsLayer.cs @@ -44,10 +44,10 @@ public class TintedCellsLayerInfo : TraitInfo public readonly int FadeoutDelay = 150; [Desc("Z offset of the visualization.")] - public readonly int ZOffset = 512; + public readonly int ZOffset = 0; [Desc("Offset of the visualization.")] - public readonly WVec Offset = new(0, 0, 512); + public readonly WVec Offset = WVec.Zero; [Desc("Name of the layer.")] public readonly string Name = "radioactivity";