aboutsummaryrefslogtreecommitdiff
path: root/views/script/game_music.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/game_music.js')
-rw-r--r--views/script/game_music.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/views/script/game_music.js b/views/script/game_music.js
index 29b00da..2aa7e94 100644
--- a/views/script/game_music.js
+++ b/views/script/game_music.js
@@ -1,8 +1,6 @@
startHooks.push(() => {
- if (require('@electron/remote').getCurrentWindow().music) {
- info("MusicMgr", "Playing game" + i + ".mp3");
- require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
- }
+ info("MusicMgr", "Playing game" + i + ".mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
})
if (location.search === "?online") {