From 1ff81edeef89954d1cb97cbe4e63356b6506dac9 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Fri, 28 Jun 2013 18:32:21 +1200 Subject: Fix dyestring parse and reconstruct delimiters --- public/js/mp/dye.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/mp/dye.js b/public/js/mp/dye.js index 213dcb2..65aa429 100644 --- a/public/js/mp/dye.js +++ b/public/js/mp/dye.js @@ -40,7 +40,7 @@ var mp = function(mp) { * Return a dye specification from a dye string. */ function parseDyeString(dyeString) { - var channelStrings = dyeString.split("|"); + var channelStrings = dyeString.split(";"); var dyeData = {}; for (var i = 0; i < channelStrings.length; i++) { @@ -87,7 +87,7 @@ var mp = function(mp) { dyeString = dyeString.slice(0, -1); - dyeString += "|"; + dyeString += ";"; } if (dyeString.length > 0) { -- cgit v1.2.3-70-g09d2