aboutsummaryrefslogtreecommitdiff
path: root/views/script/game_music.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-21 17:04:02 +0100
committerMinteck <contact@minteck.org>2021-12-21 17:04:02 +0100
commit701e2156e5e872e2f2234cc630b0b821b149ca31 (patch)
treea97aab3aaa8da1dc23356946f530dc2ee41ec579 /views/script/game_music.js
parent4ea37b6a0089f0948859447c8751320d1a4559f1 (diff)
downloadkartik-client-testing.tar.gz
kartik-client-testing.tar.bz2
kartik-client-testing.zip
Diffstat (limited to 'views/script/game_music.js')
-rw-r--r--views/script/game_music.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/views/script/game_music.js b/views/script/game_music.js
index 7d43a25..beed4a0 100644
--- a/views/script/game_music.js
+++ b/views/script/game_music.js
@@ -1,8 +1,8 @@
-startHooks.push(() => {
- info("MusicMgr", "Playing game" + i + ".mp3");
- if (require('@electron/remote').getCurrentWindow().music) require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
-})
-
-if (location.search === "?online") {
- if (require('@electron/remote').getCurrentWindow().music) require('electron').ipcRenderer.send('newmusic', kresources.music['prepare'].file);
-}
+startHooks.push(() => {
+ info("MusicMgr", "Playing game" + i + ".mp3");
+ if (require('@electron/remote').getCurrentWindow().music) require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
+})
+
+if (location.search === "?online") {
+ if (require('@electron/remote').getCurrentWindow().music) require('electron').ipcRenderer.send('newmusic', kresources.music['prepare'].file);
+}