From eabad160152f5bf6e7dd442de46b135a1a59f75e Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 22 Sep 2017 19:38:01 +0200 Subject: Changed name of local button --- config/menus/select.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/menus/select.lua b/config/menus/select.lua index 91da7c9..6dc9d01 100644 --- a/config/menus/select.lua +++ b/config/menus/select.lua @@ -8,7 +8,7 @@ local Group = require "not.Group" local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale() local bx = width/2-29 -local start_Button = Button(menu) +local startButton = Button(menu) if background == nil or not background:is(require "not.MenuBackground") then background = require "not.MenuBackground"(menu) @@ -85,7 +85,7 @@ end return { background, group, - start_Button + startButton :setText("Force start") :setPosition(bx,134) :set("isEnabled", function () @@ -123,7 +123,7 @@ return { self.the_final_countdown = 9 end if self.the_final_countdown < 0 then - start_Button:active() + startButton:active() end end) , -- cgit v1.1