Shared isGameRunning

This commit is contained in:
Natsumi
2020-12-31 02:44:30 +13:00
parent 3b6739cfe0
commit 035d72b020
2 changed files with 3 additions and 2 deletions

View File

@@ -3413,7 +3413,7 @@ speechSynthesis.getVoices();
AppApi.CheckGameRunning().then(([isGameRunning, isGameNoVR]) => {
if (isGameRunning !== this.isGameRunning) {
this.isGameRunning = isGameRunning;
sharedRepository.setBool('isGameRunning', isGameRunning);
sharedRepository.setBool('is_game_running', isGameRunning);
Discord.SetTimestamps(Date.now(), 0);
}
this.isGameNoVR = isGameNoVR;