From e18ef02c63dd90cc09516c5dc4d4d7fea24c3e54 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 6 Aug 2015 03:37:10 +0300 Subject: [PATCH] Update Home.lua --- Applications/Home.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/Home.lua b/Applications/Home.lua index 0efc2744..d44716db 100644 --- a/Applications/Home.lua +++ b/Applications/Home.lua @@ -43,7 +43,7 @@ local xSize, ySize = gpu.getResolution() local doorTimer = 3 -local buttons = {{false, 0x444444, colors.lightblue}, {false, 0x444444, colors.black}, {true, ecs.colors.red, colors.brown}, {true, ecs.colors.green, colors.pink}, {true, ecs.colors.green, colors.red}, {true, ecs.colors.green, colors.orange}} +local buttons = {{false, 0x444444, colors.lightblue}, {false, 0x444444, colors.black}, {false, ecs.colors.red, colors.brown}, {true, ecs.colors.green, colors.pink}, {true, ecs.colors.green, colors.red}, {true, ecs.colors.green, colors.orange}} local killWireColor = colors.blue @@ -176,7 +176,7 @@ local function switchButton(key, buttonColor) buttons[key][2] = 0x444444 else buttons[key][1] = true - buttons[key][2] = ecs.colors.green + buttons[key][2] = buttonColor or ecs.colors.green end end