Remove redundant if

This commit is contained in:
Ishaan Bhardwaj 2021-09-05 22:50:31 -04:00
parent 985f73c39d
commit 799a905a9c

View File

@ -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