From 7f9390d50ee019b587820eb37dcfc3240306ca99 Mon Sep 17 00:00:00 2001 From: JustAGenericUsername <92590792+JustAGenericUsername@users.noreply.github.com> Date: Wed, 2 Apr 2025 21:14:22 -0400 Subject: [PATCH] f --- mods/nousersthings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/nousersthings.js b/mods/nousersthings.js index a8c6cbfa..ac5316f0 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -3939,7 +3939,7 @@ renderPostPixel(function(ctx){ if ((pixel.element == "sign") && pixel.sign){ ctx.font = `12pt Arial` ctx.fillStyle = pixel.color; - ctx.fillText(pixel.sign = pixel.sign.replace(/\$\{([\w.\[\]]+)\}/g, (_, path) => { + ctx.fillText(pixel.sign.replace(/\$\{([\w.\[\]]+)\}/g, (_, path) => { try { const value = new Function('return globalThis.' + path)(); return typeof value === 'object' ? JSON.stringify(value) : value ?? ''; @@ -3951,7 +3951,7 @@ renderPostPixel(function(ctx){ if (pixel.charge || pixel.chargeCD){ ctx.font = `12pt Arial` ctx.fillStyle = pixel.color; - ctx.fillText(pixel.sign = pixel.sign.replace(/\$\{([\w.\[\]]+)\}/g, (_, path) => { + ctx.fillText(pixel.sign.replace(/\$\{([\w.\[\]]+)\}/g, (_, path) => { try { const value = new Function('return globalThis.' + path)(); return typeof value === 'object' ? JSON.stringify(value) : value ?? '';