From 797bcade90383a6e0dd5c5d3bf0619c805af9ce2 Mon Sep 17 00:00:00 2001 From: Raymond Date: Sun, 22 Aug 2021 07:57:41 -0400 Subject: [PATCH] ClientState was set twice --- Dalamud/Dalamud.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Dalamud.cs b/Dalamud/Dalamud.cs index 838d5c7c8..47a973c66 100644 --- a/Dalamud/Dalamud.cs +++ b/Dalamud/Dalamud.cs @@ -143,7 +143,7 @@ namespace Dalamud Service.Set(); Log.Information("[T2] NH OK!"); - Service.Set(); + var clientState = Service.Set(); Log.Information("[T2] CS OK!"); var localization = Service.Set(new Localization(Path.Combine(this.AssetDirectory.FullName, "UIRes", "loc", "dalamud"), "dalamud_")); @@ -210,7 +210,7 @@ namespace Dalamud Log.Information("[T2] CH OK!"); - Service.Set().Enable(); + clientState.Enable(); Log.Information("[T2] CS ENABLE!"); Service.Set().Enable();