diff options
author | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-06-28 18:32:21 +1200 |
---|---|---|
committer | Freeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace> | 2013-06-28 18:32:21 +1200 |
commit | 1ff81edeef89954d1cb97cbe4e63356b6506dac9 (patch) | |
tree | 99012143777483b903dd861620b5c0f2e98d7f63 | |
parent | 332a88a342a3d6100a5a7ce3e8e4544c2bfa16c5 (diff) | |
download | manaportal-1ff81edeef89954d1cb97cbe4e63356b6506dac9.tar.gz manaportal-1ff81edeef89954d1cb97cbe4e63356b6506dac9.tar.bz2 manaportal-1ff81edeef89954d1cb97cbe4e63356b6506dac9.tar.xz manaportal-1ff81edeef89954d1cb97cbe4e63356b6506dac9.zip |
Fix dyestring parse and reconstruct delimiters
-rw-r--r-- | public/js/mp/dye.js | 4 |
1 files 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) { |