From 8563aeb7399b1cfdf91e06819a5ccee61c560640 Mon Sep 17 00:00:00 2001 From: AlessandroCH Date: Sun, 25 May 2025 17:56:33 +0200 Subject: [PATCH] removing useless variables --- Campofinale/Server.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Campofinale/Server.cs b/Campofinale/Server.cs index 68b546b..3ac301b 100644 --- a/Campofinale/Server.cs +++ b/Campofinale/Server.cs @@ -53,15 +53,10 @@ namespace Campofinale public static bool showLogs = true; public static bool showWarningLogs = true; public static bool showBodyLogs = false; - public static Dispatch dispatch; - public static ResourceManager resourceManager; - public static ConfigFile config; + public static Dispatch? dispatch; + public static ConfigFile? config; public static List csMessageToHide = new() { CsMsgId.CsMoveObjectMove, CsMsgId.CsBattleOp,CsMsgId.CsPing }; public static List scMessageToHide = new() { ScMsgId.ScMoveObjectMove, ScMsgId.ScPing }; - public static ResourceManager GetResources() - { - return resourceManager; - } public void Start(ConfigFile config) { {