Update FlappyBird.lua

This commit is contained in:
Igor Timofeev 2016-03-24 15:42:43 +03:00
parent 8c740299be
commit a7de9bf9fe

View File

@ -262,7 +262,7 @@ while true do
if birdIsAlive and (e[1] == "touch" or e[1] == "key_down") then
yBird = yBird - config.birdFlyUpSpeed + (not birdIsAlive and 2 or 0)
somethingHappend = true
currentUser = e[6]
currentUser = e[1] == "touch" and e[6] or e[5]
end
moveColumns()