diff --git a/mar/phaser/mar.js b/mar/phaser/mar.js index 9ded2d5..ecd89a6 100644 --- a/mar/phaser/mar.js +++ b/mar/phaser/mar.js @@ -344,7 +344,7 @@ function updateGameObject(object, responseObj) { } else if (responseObj.holoMode === 2) { //String - object.hologram = game.make.text(0, 32, responseObj.holoStr.replace(/\n|\t/, ''), { + object.hologram = game.make.text(0, 32, responseObj.holoStr.replace(/[\n|\t]/, ''), { fontSize: 27, fill: color ? color : colorScheme.hologramFill, stroke: colorScheme.hologramStroke,