Skip to content

Commit

Permalink
Merge pull request #21 from NotAKidOnSteam/master
Browse files Browse the repository at this point in the history
Don't load into last instance while holding LeftShift
  • Loading branch information
kafeijao authored Mar 14, 2023
2 parents 777e483 + 142e247 commit ace18c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Instances/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ public static bool Before_HQTools_Start() {
CVRTools.ConfigureHudAffinity();
AssetManagement.Instance.LoadLocalAvatar(MetaPort.Instance.currentAvatarGuid);

// Let's attempt to join the last instance
if (MeRejoinLastInstanceOnGameRestart.Value && Config.LastInstance != null) {
// Let's attempt to join the last instance, but only if shift key is not being held down
if (MeRejoinLastInstanceOnGameRestart.Value && Config.LastInstance != null && !Input.GetKey(KeyCode.LeftShift)) {
OnInstanceSelected(Config.LastInstance, true);
return false;
}
Expand Down

0 comments on commit ace18c5

Please sign in to comment.