Yet more SOCD handling
parent
438acde2e2
commit
b5db5bbdc3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue