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