diff --git a/tetris/modes/gamemode.lua b/tetris/modes/gamemode.lua index 8aac13f..5d1d287 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 - end - if inputs["up"] then - inputs["down"] = false + elseif inputs["up"] or inputs["down"] then + inputs["left"] = false + inputs["right"] = false end end