Merge pull request #667 from Zagrios/bugfix/do-no-apply-no-yeet-on-original-copies-of-bs

[bugfix] Do not launch BS with the --no-yeet arg when launching original copies of BS (Steam/Oculus)
This commit is contained in:
MathieuG-P
2024-11-20 20:54:02 +01:00
committed by GitHub
@@ -14,8 +14,11 @@ export abstract class AbstractLauncherService {
}
protected buildBsLaunchArgs(launchOptions: LaunchOption): string[]{
const launchArgs = ["--no-yeet"];
const launchArgs = [];
if(!launchOptions.version.steam && !launchOptions.version.oculus){
launchArgs.push("--no-yeet")
}
if (launchOptions.oculus) {
launchArgs.push("-vrmode");
launchArgs.push("oculus");