Permit whitespace in viscolor colors

This commit is contained in:
Jordan Eldredge 2014-11-18 18:54:40 +01:00
parent f98d36725e
commit ecea48dae3

View file

@ -75,7 +75,7 @@ SkinManager = {
_parseVisColors: function(zip) {
var entries = this._findFileInZip("VISCOLOR.TXT", zip).asText().split("\n");
var regex = /^(\d+),(\d+),(\d+)/
var regex = /^(\d+),\s*(\d+),\s*(\d+)/
for(var i = 0; i <= entries.length; i++) {
var matches = regex.exec(entries[i]);
if(matches) {