Skip to content

Commit cdd4e0d

Browse files
committed
increase game launch wait time
1 parent 5257312 commit cdd4e0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Services/GameService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using System.Timers;
99
using Gameloop.Vdf;
1010
using Gameloop.Vdf.Linq;
11-
using Microsoft.Win32;
1211
using Scum_Bag.DataAccess.Data.Steam;
1312
using Scum_Bag.Models;
1413

@@ -149,7 +148,7 @@ public bool LaunchGame(string gameName)
149148
int retryCount = 0;
150149
while (gameProcess == null && retryCount++ < 10)
151150
{
152-
System.Threading.Thread.Sleep(1000);
151+
System.Threading.Thread.Sleep(1500);
153152

154153
gameProcess = Process.GetProcesses()
155154
.Where(x => possibleGameExecutables.Contains(x.ProcessName))

0 commit comments

Comments
 (0)