Fix for no info in song only packs

master
William Toohey 9 years ago
parent be7c9adb55
commit eb81640c2b
  1. 8
      src/js/ResourcePack.js

@ -358,12 +358,12 @@ Respack.prototype.parseXML = function() {
if(this.songs.length > 0)
this.parseSongFile(dom);
break;
case "info":
case "images":
if(this.images.length > 0)
this.parseInfoFile(dom);
this.parseImageFile(dom);
break;
case "images":
this.parseImageFile(dom);
case "info":
this.parseInfoFile(dom);
break;
default:
console.log("XML found with no songs, images or info");

Loading…
Cancel
Save