mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-27 13:19:02 -06:00
parent
b5db5bbdc3
commit
985f73c39d
@ -126,9 +126,9 @@ function GameMode:update(inputs, ruleset)
|
||||
if inputs["left"] or inputs["right"] then
|
||||
inputs["up"] = false
|
||||
inputs["down"] = false
|
||||
end
|
||||
if inputs["up"] then
|
||||
inputs["down"] = false
|
||||
elseif inputs["up"] or inputs["down"] then
|
||||
inputs["left"] = false
|
||||
inputs["right"] = false
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user