From c2930947da2a2e53a9edb814befec8fb16bb8514 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 26 Mar 2016 09:51:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 660a5c7d..c9372d09 100644 --- a/Applications/FlappyBird/FlappyBird.lua +++ b/Applications/FlappyBird/FlappyBird.lua @@ -63,7 +63,7 @@ local function dieBirdDie() end local function generateColumn() - local yFreeZone = math.random(config.columnPipeHeight + 1, buffer.screen.height - config.columnPipeHeight - config.columnFreeSpace) + local yFreeZone = math.random(config.columnPipeHeight + 2, buffer.screen.height - config.columnPipeHeight - config.columnFreeSpace) table.insert(columns, {x = buffer.screen.width - 1, yFreeZone = yFreeZone}) end