Register the LibcFunction service

This commit is contained in:
Raymond 2021-08-21 16:00:57 -04:00
parent 506731d7fe
commit ac1a7cf806

View file

@ -7,6 +7,7 @@ using System.Threading;
using Dalamud.Game.Gui; using Dalamud.Game.Gui;
using Dalamud.Game.Gui.Toast; using Dalamud.Game.Gui.Toast;
using Dalamud.Game.Libc;
using Dalamud.Game.Network; using Dalamud.Game.Network;
using Dalamud.Hooking; using Dalamud.Hooking;
using Dalamud.Interface.Internal; using Dalamud.Interface.Internal;
@ -101,6 +102,7 @@ namespace Dalamud.Game
/// </summary> /// </summary>
public void Enable() public void Enable()
{ {
Service<LibcFunction>.Set();
Service<GameGui>.Get().Enable(); Service<GameGui>.Get().Enable();
Service<GameNetwork>.Get().Enable(); Service<GameNetwork>.Get().Enable();