Skip to content

Commit

Permalink
Reduced timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadrupleTurbo committed Mar 4, 2023
1 parent f1bb6c3 commit 4943012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vMenu/CommonFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public static async Task TeleportToCoords(Vector3 pos, bool safeModeDisabled = f
tempTimer = GetGameTimer();

// Wait for the scene to be loaded with a timeout.
while (!IsNewLoadSceneLoaded() && Game.GameTime - tempTimer < 10000) // Can take up to 10 seconds
while (!IsNewLoadSceneLoaded() && Game.GameTime - tempTimer < 3000)
{
await BaseScript.Delay(0);
}
Expand Down

0 comments on commit 4943012

Please sign in to comment.