Merge pull request #96 from LoveEevee/view-fix-p2-with-skins

View: Fix multiplayer on songs with skins
This commit is contained in:
Bui 2018-12-23 15:01:12 +00:00 committed by GitHub
commit 16f3366acf

View File

@ -1008,7 +1008,7 @@
var selectedSong = this.controller.selectedSong var selectedSong = this.controller.selectedSong
var songSkinName = selectedSong.songSkin.name var songSkinName = selectedSong.songSkin.name
var donLayers = [] var donLayers = []
var filename = this.multiplayer === 2 ? "bg_don2_" : "bg_don_" var filename = !selectedSong.songSkin.don && this.multiplayer === 2 ? "bg_don2_" : "bg_don_"
this.donBg = document.createElement("div") this.donBg = document.createElement("div")
this.donBg.classList.add("donbg") this.donBg.classList.add("donbg")