Basic SOCD handling
parent
bc54bc57b6
commit
8dbb75cbef
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue