diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-22 19:38:01 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-22 19:38:01 +0200 |
commit | eabad160152f5bf6e7dd442de46b135a1a59f75e (patch) | |
tree | 0dd6d7b0ffe24a8f9962d71ef6c3bfc572871ce1 | |
parent | b9f8a7bf85c88a3955d28824627a65efa193e8ad (diff) | |
download | roflnauts-eabad160152f5bf6e7dd442de46b135a1a59f75e.zip roflnauts-eabad160152f5bf6e7dd442de46b135a1a59f75e.tar.gz roflnauts-eabad160152f5bf6e7dd442de46b135a1a59f75e.tar.bz2 |
Changed name of local button
-rw-r--r-- | config/menus/select.lua | 6 |
1 files 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) , |