diff --git a/js/dllpatcher.js b/js/dllpatcher.js index 27a7397..682f906 100644 --- a/js/dllpatcher.js +++ b/js/dllpatcher.js @@ -205,7 +205,13 @@ class PatchContainer { getSupportedVersions() { var descriptions = []; for (var i = 0; i < this.patchers.length; i++) { - descriptions.push(this.patchers[i].description); + // Concat description if it is an array of datecodes, push if it is + // just a string + if (typeof this.patchers[i].description === 'object') { + descriptions = descriptions.concat(this.patchers[i].description); + } else { + descriptions.push(this.patchers[i].description); + } } return descriptions; }