From b5db5bbdc3959086e5d09dd64d630480d24d7451 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sat, 4 Sep 2021 22:45:20 -0400 Subject: [PATCH] Yet more SOCD handling --- tetris/modes/gamemode.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tetris/modes/gamemode.lua b/tetris/modes/gamemode.lua index 5d1d287..8aac13f 100644 --- a/tetris/modes/gamemode.lua +++ b/tetris/modes/gamemode.lua @@ -126,9 +126,9 @@ function GameMode:update(inputs, ruleset) if inputs["left"] or inputs["right"] then inputs["up"] = false inputs["down"] = false - elseif inputs["up"] or inputs["down"] then - inputs["left"] = false - inputs["right"] = false + end + if inputs["up"] then + inputs["down"] = false end end