mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-10 14:26:44 +00:00
actually implement the fix
forgot `[` around character classes `]` fixes #12
This commit is contained in:
parent
a1f467576f
commit
353c8161ae
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user