From 9f322a9c0d7ca6d6eb4c23363989f52cff66e652 Mon Sep 17 00:00:00 2001 From: redbirdly <155550833+redbirdly@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:06:22 +0800 Subject: [PATCH] fix bug with elements.text.tick --- mods/text.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/text.js b/mods/text.js index 6d1a012e..1918f1fb 100644 --- a/mods/text.js +++ b/mods/text.js @@ -66,7 +66,7 @@ elements.text = { textToPlace = prompt("Input Text\n(Previous element = Text's element)", textToPlace); textElement = previousValidTextElement; }, - tick: function() { + tick: function(pixel) { if (pixel.start == pixelTicks) { deletePixel(pixel.x, pixel.y); drawText(font, textToPlace, { @@ -678,4 +678,4 @@ var font = { "#", "#", ], -}; \ No newline at end of file +};