Skip to content

Commit

Permalink
remove: debug code from setVariable()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nano191225 committed Jun 16, 2024
1 parent 9ea4622 commit 2ba6e88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export function setVariable(player, text) {
const score = text.split("{score:")[1].split(/(}|,})/i)[0];
const str = `${score}}`;
const object = easySafeParse(str);
console.warn(JSON.stringify(object));
if (Object.values(object).length === 0) {
if (score) {
text = text.replace(
Expand Down

0 comments on commit 2ba6e88

Please sign in to comment.