From d5ffe9de8d8f90838835b312d2b25eea3cf92de7 Mon Sep 17 00:00:00 2001 From: terpyderp Date: Wed, 20 Oct 2021 17:11:35 -0500 Subject: [PATCH] Fixed side next for survival_ax I thought I already did this for all modes but apparently I missed this one lol. --- tetris/modes/survival_ax.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tetris/modes/survival_ax.lua b/tetris/modes/survival_ax.lua index 5b5b617..bf556bb 100644 --- a/tetris/modes/survival_ax.lua +++ b/tetris/modes/survival_ax.lua @@ -143,22 +143,22 @@ function SurvivalAXGame:drawScoringInfo() self.das.frames .. " " .. strTrueValues(self.prev_inputs) ) - if self.lines < 150 then love.graphics.printf("TIME LEFT", 240, 250, 80, "left") end - love.graphics.printf("LINES", 240, 320, 40, "left") + if self.lines < 150 then love.graphics.printf("TIME LEFT", text_x, 250, 80, "left") end + love.graphics.printf("LINES", text_x, 320, 40, "left") local current_section = math.floor(self.lines / 10) + 1 self:drawSectionTimesWithSplits(current_section) love.graphics.setFont(font_3x5_3) - love.graphics.printf(self.lines, 240, 340, 40, "right") - love.graphics.printf(self.clear and self.lines or self:getSectionEndLines(), 240, 370, 40, "right") + love.graphics.printf(self.lines, text_x, 340, 40, "right") + love.graphics.printf(self.clear and self.lines or self:getSectionEndLines(), text_x, 370, 40, "right") -- draw time left, flash red if necessary local time_left = self.section_time_limit - math.max(self:getSectionTime(), 0) if not self.game_over and not self.clear and time_left < frameTime(0,10) and time_left % 4 < 2 then love.graphics.setColor(1, 0.3, 0.3, 1) end - if self.lines < 150 then love.graphics.printf(formatTime(time_left), 240, 270, 160, "left") end + if self.lines < 150 then love.graphics.printf(formatTime(time_left), text_x, 270, 160, "left") end love.graphics.setColor(1, 1, 1, 1) end