diff --git a/vampire-v5/VTM_Dice_Mechanics.js b/vampire-v5/VTM_Dice_Mechanics.js index 7987d3fe0a..2ec09d6a17 100644 --- a/vampire-v5/VTM_Dice_Mechanics.js +++ b/vampire-v5/VTM_Dice_Mechanics.js @@ -829,7 +829,8 @@ function calculateDc(run) { return dc; } -on("chat:message", function (msg) { +on("chat:message", function (msg_orig) { + let msg=_.clone(msg_orig); // returns the chat window command entered, all in lowercase. if (msg.type != 'api') { return;