Yet more SOCD handling

This commit is contained in:
Ishaan Bhardwaj 2021-09-04 22:45:20 -04:00
parent 438acde2e2
commit b5db5bbdc3

View File

@ -126,9 +126,9 @@ function GameMode:update(inputs, ruleset)
if inputs["left"] or inputs["right"] then if inputs["left"] or inputs["right"] then
inputs["up"] = false inputs["up"] = false
inputs["down"] = false inputs["down"] = false
elseif inputs["up"] or inputs["down"] then end
inputs["left"] = false if inputs["up"] then
inputs["right"] = false inputs["down"] = false
end end
end end