Skip to content

Commit 3989932

Browse files
committed
Fix KillRunningGameCore and IsGameRunningCore logic
1 parent 60c885b commit 3989932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hi3Helper.Plugin.HBR/Exports.GameLaunch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected override bool IsGameRunningCore(GameManagerExtension.RunGameFromGameMa
6363

6464
if (!TryGetGameExecutablePath(context, out string? gameExecutablePath))
6565
{
66-
return false;
66+
return true;
6767
}
6868

6969
using Process? process = FindExecutableProcess(gameExecutablePath);
@@ -104,7 +104,7 @@ protected override bool KillRunningGameCore(GameManagerExtension.RunGameFromGame
104104

105105
if (!TryGetGameExecutablePath(context, out string? gameExecutablePath))
106106
{
107-
return false;
107+
return true;
108108
}
109109

110110
using Process? process = FindExecutableProcess(gameExecutablePath);

0 commit comments

Comments
 (0)