[bugfix-313] Restore SteamVR shortly after launching BS and on disabling FPFC Mode

This commit is contained in:
MathieuG-P
2023-08-28 16:33:53 +02:00
parent 549d4473ab
commit ccc133cf6d
4 changed files with 19 additions and 5 deletions
@@ -31,6 +31,11 @@ export function LaunchSlide({ version }: Props) {
configService.set("additionnal-args", additionalArgsString);
}, [additionalArgsString]);
useEffect(() => {
if(desktopMode){ return; }
bsLauncherService.restoreSteamVR();
}, [desktopMode]);
const setMode = (mode: LaunchMods, value: boolean) => {
if (mode === LaunchMods.DEBUG_MOD) {
setDebugMode(value);