Basic SOCD handling

This commit is contained in:
Ishaan Bhardwaj 2021-10-08 20:07:28 -04:00
parent bc54bc57b6
commit 8dbb75cbef

View File

@ -126,6 +126,8 @@ 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["down"] then
inputs["up"] = false
end end
end end