mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Maybe fix isGameRunning bug
This commit is contained in:
@@ -114,12 +114,14 @@ namespace VRCX
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (Process.GetProcessesByName("vrchat").Length > 0)
|
||||
{
|
||||
isGameRunning = true;
|
||||
}
|
||||
|
||||
Process[] processList = Process.GetProcessesByName("vrserver");
|
||||
if (processList.Length > 0)
|
||||
if (Process.GetProcessesByName("vrserver").Length > 0)
|
||||
{
|
||||
isSteamVRRunning = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user