aboutsummaryrefslogtreecommitdiff
path: root/views/script/game_music.js
blob: 2aa7e948c2288e03357b8e4df4336756a7225995 (plain)
1
2
3
4
5
6
7
8
startHooks.push(() => {
    info("MusicMgr", "Playing game" + i + ".mp3");
    require('electron').ipcRenderer.send('newmusic', kresources.music['game' + i].file);
})

if (location.search === "?online") {
    require('electron').ipcRenderer.send('newmusic', kresources.music['prepare'].file);
}