Skip to content

Commit

Permalink
-Changed load position of keybind manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonFire47 committed Nov 22, 2022
1 parent 9d80f8a commit 4510eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion PulsarModLoader/ModManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ public void LoadModsDirectory(string modsDir)
_ = PulsarModLoader.Content.Components.Virus.VirusModManager.Instance;
_ = PulsarModLoader.Content.Components.WarpDrive.WarpDriveModManager.Instance;
_ = PulsarModLoader.Content.Components.WarpDriveProgram.WarpDriveProgramModManager.Instance;
_ = PulsarModLoader.Keybinds.KeybindManager.Instance;

OnAllModsLoaded?.Invoke();
}
Expand Down
3 changes: 3 additions & 0 deletions PulsarModLoader/Patches/PLGlobalStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ static void Prefix()
//SaveDataManager Init()
new SaveData.SaveDataManager();

//KeybindManager Init()
_ = PulsarModLoader.Keybinds.KeybindManager.Instance;

//ModLoading
string modsDir = Path.Combine(Directory.GetCurrentDirectory(), "Mods");
ModManager.Instance.LoadModsDirectory(modsDir);
Expand Down

0 comments on commit 4510eca

Please sign in to comment.