mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 07:19:02 -06:00
Basic SOCD handling
This commit is contained in:
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
Block a user