mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
ClientState was set twice
This commit is contained in:
parent
4ee9db025a
commit
797bcade90
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ namespace Dalamud
|
|||
Service<NetworkHandlers>.Set();
|
||||
Log.Information("[T2] NH OK!");
|
||||
|
||||
Service<ClientState>.Set();
|
||||
var clientState = Service<ClientState>.Set();
|
||||
Log.Information("[T2] CS OK!");
|
||||
|
||||
var localization = Service<Localization>.Set(new Localization(Path.Combine(this.AssetDirectory.FullName, "UIRes", "loc", "dalamud"), "dalamud_"));
|
||||
|
|
@ -210,7 +210,7 @@ namespace Dalamud
|
|||
|
||||
Log.Information("[T2] CH OK!");
|
||||
|
||||
Service<ClientState>.Set().Enable();
|
||||
clientState.Enable();
|
||||
Log.Information("[T2] CS ENABLE!");
|
||||
|
||||
Service<DalamudSystemMenu>.Set().Enable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue