summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-06-28 18:32:21 +1200
committerFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-06-28 18:32:21 +1200
commit1ff81edeef89954d1cb97cbe4e63356b6506dac9 (patch)
tree99012143777483b903dd861620b5c0f2e98d7f63
parent332a88a342a3d6100a5a7ce3e8e4544c2bfa16c5 (diff)
downloadmanaportal-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.js4
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) {