Yet more SOCD handling

pull/34/head
Ishaan Bhardwaj 2021-09-04 22:45:20 -04:00
parent 438acde2e2
commit b5db5bbdc3
1 changed files with 3 additions and 3 deletions

View File

@ -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