From a7de9bf9fef1075dbcc5342d5b090fe7b9e66298 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 24 Mar 2016 15:42:43 +0300 Subject: [PATCH] Update FlappyBird.lua --- Applications/FlappyBird/FlappyBird.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/FlappyBird/FlappyBird.lua b/Applications/FlappyBird/FlappyBird.lua index aabca118..330ca856 100644 --- a/Applications/FlappyBird/FlappyBird.lua +++ b/Applications/FlappyBird/FlappyBird.lua @@ -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()