Fix desktop notification when set to inside/outside VR

This commit is contained in:
Natsumi
2024-10-22 11:46:38 +13:00
parent 1eefbb4fc4
commit 49742f146c
2 changed files with 4 additions and 6 deletions

View File

@@ -6710,11 +6710,8 @@ speechSynthesis.getVoices();
var playDesktopToast = false;
if (
this.desktopToast === 'Always' ||
(this.desktopToast === 'Outside VR' &&
(this.isGameNoVR || !this.isGameRunning)) ||
(this.desktopToast === 'Inside VR' &&
!this.isGameNoVR &&
this.isGameRunning) ||
(this.desktopToast === 'Outside VR' && !this.isSteamVRRunning) ||
(this.desktopToast === 'Inside VR' && this.isSteamVRRunning) ||
(this.desktopToast === 'Game Closed' && !this.isGameRunning) ||
(this.desktopToast === 'Game Running' && this.isGameRunning) ||
(this.desktopToast === 'Desktop Mode' &&