Remove redundant if

pull/34/head
Ishaan Bhardwaj 2021-09-05 22:50:31 -04:00
parent 985f73c39d
commit 799a905a9c
1 changed files with 0 additions and 3 deletions

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