mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-27 13:39:03 -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
|
||||
inputs["up"] = false
|
||||
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