Skip to content

Commit

Permalink
Don't load into last instance while holding LeftShift
Browse files Browse the repository at this point in the history
Nice QOL thing.
  • Loading branch information
NotAKidoS committed Mar 14, 2023
1 parent 777e483 commit 142e247
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 142e247

Please sign in to comment.