From 147aec6b71838c88e1e81b7a3d67d67e618c134a Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 23 Aug 2015 15:36:24 +0300 Subject: [PATCH] Update Shooting.lua --- Applications/Shooting/Shooting.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Applications/Shooting/Shooting.lua b/Applications/Shooting/Shooting.lua index 11bca942..8034fa1e 100644 --- a/Applications/Shooting/Shooting.lua +++ b/Applications/Shooting/Shooting.lua @@ -144,8 +144,6 @@ local function drawMishen() drawKrug(xCenter, yCenter, 20 - i*2, color) end SetPixel(xCenter, yCenter, 0xff0000) - - newObj("Buttons", "Выйти", ecs.drawAdaptiveButton(xScore, 37, 14, 1, "Выйти", ecs.colors.blue, 0xffffff)) end local function AddPlayer(name) @@ -233,7 +231,11 @@ local function drawLastScore(x, y, score, color) ecs.square((x + 6) * 2, y, 35, 7, 0x262626) drawKrug(x + 3, y + 3, 3, color) drawText(x + 9, y, score, 0xffffff) + + newObj("Buttons", "Выйти", ecs.drawAdaptiveButton(xScore, 37, 14, 1, "Выйти", ecs.colors.blue, 0xffffff)) + end + local function Tir() ecs.prepareToExit()