Changed effect arrays to a single effect array array

This commit is contained in:
Thaum
2014-11-30 10:38:44 +00:00
parent 4c7d23e37e
commit ad474590bd
6 changed files with 97 additions and 101 deletions

View File

@@ -19,10 +19,10 @@ evaluate = function(charId, string){
return sub;
});
try{
result = math.eval(string);
return result
var result = math.eval(string);
return result;
} catch(e){
console.log(e)
console.log("Failed to evaluate ", string);
return string;
}
}