From ce86f377f0a4f733845746857c78511ff000488e Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Wed, 12 May 2021 10:52:34 -0700 Subject: [PATCH] fix(currency): Changes virtual checks setting (#598) Changes virtual checks to enable with Core.TOL instead. --- Projects/Server/Items/VirtualCheck.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Projects/Server/Items/VirtualCheck.cs b/Projects/Server/Items/VirtualCheck.cs index afd9dc4f2..da952aaef 100644 --- a/Projects/Server/Items/VirtualCheck.cs +++ b/Projects/Server/Items/VirtualCheck.cs @@ -24,15 +24,14 @@ namespace Server.Items public static void Configure() { - UseEditGump = ServerConfiguration.GetOrUpdateSetting("virtualChecks.useEditGump", true); + UseEditGump = ServerConfiguration.GetSetting("virtualChecks.useEditGump", Core.TOL); } private int m_Gold; private int m_Plat; - public VirtualCheck(int plat = 0, int gold = 0) - : base(0x14F0) + public VirtualCheck(int plat = 0, int gold = 0) : base(0x14F0) { Plat = plat; Gold = gold; @@ -182,8 +181,7 @@ namespace Server.Items private int m_Plat, m_Gold; - public EditGump(Mobile user, VirtualCheck check) - : base(50, 50) + public EditGump(Mobile user, VirtualCheck check) : base(50, 50) { User = user; Check = check;