add game config

This commit is contained in:
Bui
2018-10-27 22:42:28 +01:00
parent 5fcdca89e5
commit 2598a5014d
9 changed files with 34 additions and 8 deletions

View File

@@ -751,7 +751,7 @@
setBackground(){
var gameDiv = document.getElementById("game")
var selectedSong = this.controller.selectedSong
var bg = "/songs/" + selectedSong.folder + "/bg.png"
var bg = gameConfig.songs_baseurl + selectedSong.folder + "/bg.png"
if(selectedSong.defaultBg){
var categories = {
"J-POP": 0,