Skip to content

Commit

Permalink
Merge pull request StarCoreSE#1155 from Jnick-24/Fix-bootlock-when-lo…
Browse files Browse the repository at this point in the history
…ading-a-world-with-autotracking-grids

Fix bootlock when loading a world with autotracking grids
  • Loading branch information
InvalidArgument3 authored May 11, 2024
2 parents b8ebbe7 + 7693147 commit de0ab5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public override void LoadData()
HeartNetwork.I = new HeartNetwork();
HeartNetwork.I.LoadData(42521);
CommandHandler.Init();
TrackingManager.Init();
_pointCheck.Init();
}
catch (Exception ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ private void HudRegistered()
Visible = false, //defaulted off?
InitialColor = Color.White
};

// Avoid bootlock when opening world with autotracked grids.
TrackingManager.Init();
}

private void HandleKeyInputs()
Expand Down

0 comments on commit de0ab5d

Please sign in to comment.