From ebe3f9560c8bbb49d4db44a38313e4065f8d2aab Mon Sep 17 00:00:00 2001 From: Flowaria Date: Sat, 20 Dec 2025 21:06:06 +0900 Subject: [PATCH] const as static property --- Systems/Mechanic/TilePingerSystem.PingEffects.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Systems/Mechanic/TilePingerSystem.PingEffects.cs b/Systems/Mechanic/TilePingerSystem.PingEffects.cs index e871141eb4..0627884742 100644 --- a/Systems/Mechanic/TilePingerSystem.PingEffects.cs +++ b/Systems/Mechanic/TilePingerSystem.PingEffects.cs @@ -13,8 +13,7 @@ namespace CalamityMod.Systems.Mechanic; public class WulfrumPingTileEffect : IPingedTileEffect, ILoadable { - public const string EffectName = "WulfrumPing"; - + public static string EffectName => "WulfrumPing"; public static WulfrumPingTileEffect Instance { get; private set; } internal static Texture2D emptyFrame; @@ -185,8 +184,7 @@ public class WulfrumPingTileEffect : IPingedTileEffect, ILoadable public class BurrowerPingTileEffect : IPingedTileEffect, ILoadable { - public const string EffectName = "BurrowerPing"; - + public static string EffectName => "BurrowerPing"; public static BurrowerPingTileEffect Instance { get; private set; } internal static Texture2D emptyFrame;