From 1b2c3cb8595c156d14b29b928797754cd6dc7610 Mon Sep 17 00:00:00 2001 From: eos Date: Sat, 10 Nov 2012 21:12:34 +0000 Subject: [PATCH] - Changed MyRunUO Config bools back to static, to prevent unreachable code warnings. - Removed unused fields in HalloweenHauntings. --- Scripts/Engines/MyRunUO/Config.cs | 6 +++--- .../Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Scripts/Engines/MyRunUO/Config.cs b/Scripts/Engines/MyRunUO/Config.cs index d7e44c25f..cb173c2a1 100644 --- a/Scripts/Engines/MyRunUO/Config.cs +++ b/Scripts/Engines/MyRunUO/Config.cs @@ -17,13 +17,13 @@ namespace Server.Engines.MyRunUO public const string DatabasePassword = "password"; // Should the database use transactions? This is recommended - public const bool UseTransactions = true; + public static bool UseTransactions = true; // Use optimized table loading techniques? (LOAD DATA INFILE) - public const bool LoadDataInFile = true; + public static bool LoadDataInFile = true; // This must be enabled if the database server is on a remote machine. - public const bool DatabaseNonLocal = ( DatabaseServer != "localhost" ); + public static bool DatabaseNonLocal = ( DatabaseServer != "localhost" ); // Text encoding used public static Encoding EncodingIO = Encoding.ASCII; diff --git a/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs b/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs index 83d776d14..a31a5b08f 100644 --- a/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs +++ b/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs @@ -10,9 +10,6 @@ namespace Server.Engines.Events { public static Dictionary ReAnimated { get { return m_ReAnimated; } set { m_ReAnimated = value; } } - private static bool m_Running; - private static bool m_AutoStart; - private static Timer m_Timer; private static Timer m_ClearTimer;