mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-25 08:49:02 -06:00
Remove redundant if
This commit is contained in:
parent
985f73c39d
commit
799a905a9c
@ -126,9 +126,6 @@ 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["up"] or inputs["down"] then
|
|
||||||
inputs["left"] = false
|
|
||||||
inputs["right"] = false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user