Correction commande /auberge
This commit is contained in:
parent
34555681f8
commit
9a47e0a8cd
@ -87,12 +87,12 @@ Hooks.once('init', () => {
|
|||||||
formula = formula.replace('yds', "m." );
|
formula = formula.replace('yds', "m." );
|
||||||
// To evaluate multiplication, replace x with *
|
// To evaluate multiplication, replace x with *
|
||||||
formula = formula.replace('x', '*');
|
formula = formula.replace('x', '*');
|
||||||
console.log("FOEM", formula);
|
//console.log("FOEM", formula);
|
||||||
return eval(formula);
|
return eval(formula);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
console.log("FOEM2", formula);
|
//console.log("FOEM2", formula);
|
||||||
return formula;
|
return formula;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user