Basic SOCD handling

pull/38/head
Ishaan Bhardwaj 2021-10-08 20:07:28 -04:00
parent bc54bc57b6
commit 8dbb75cbef
1 changed files with 2 additions and 0 deletions

View File

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