From 50023e375db2d66f5a24d5472d30a6732f1915d8 Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Sat, 10 Jul 2021 01:49:46 +0700 Subject: [PATCH] Meow --- Libraries/Screen.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Libraries/Screen.lua b/Libraries/Screen.lua index 5f19e1f9..b5a55051 100755 --- a/Libraries/Screen.lua +++ b/Libraries/Screen.lua @@ -562,12 +562,12 @@ local function update(force) end -- Group pixels that need to be drawn by background and foreground - changes[currentFrameBackground] = changes[currentFrameBackground] or {} - changesCurrentFrameBackground = changes[currentFrameBackground] - changesCurrentFrameBackground[currentFrameForeground] = changesCurrentFrameBackground[currentFrameForeground] or {index = 1} - changesCurrentFrameBackgroundCurrentFrameForeground = changesCurrentFrameBackground[currentFrameForeground] + changesCurrentFrameBackground = changes[currentFrameBackground] or {} + changes[currentFrameBackground] = changesCurrentFrameBackground + changesCurrentFrameBackgroundCurrentFrameForeground = changesCurrentFrameBackground[currentFrameForeground] or {index = 1} + changesCurrentFrameBackground[currentFrameForeground] = changesCurrentFrameBackgroundCurrentFrameForeground + changesCurrentFrameBackgroundCurrentFrameForegroundIndex = changesCurrentFrameBackgroundCurrentFrameForeground.index - changesCurrentFrameBackgroundCurrentFrameForeground[changesCurrentFrameBackgroundCurrentFrameForegroundIndex], changesCurrentFrameBackgroundCurrentFrameForegroundIndex = x, changesCurrentFrameBackgroundCurrentFrameForegroundIndex + 1 changesCurrentFrameBackgroundCurrentFrameForeground[changesCurrentFrameBackgroundCurrentFrameForegroundIndex], changesCurrentFrameBackgroundCurrentFrameForegroundIndex = y, changesCurrentFrameBackgroundCurrentFrameForegroundIndex + 1 changesCurrentFrameBackgroundCurrentFrameForeground[changesCurrentFrameBackgroundCurrentFrameForegroundIndex], changesCurrentFrameBackgroundCurrentFrameForegroundIndex = tableConcat(equalChars), changesCurrentFrameBackgroundCurrentFrameForegroundIndex + 1