summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-24 04:59:23 +0200
committerAki <nthirtyone@gmail.com>2016-08-24 04:59:23 +0200
commit3139857cee53affa1c642f92da8d6a595a18c52e (patch)
treeb47538a87a452d0c91510bbe5ff2ac24bfe493a6 /config
parent3ab0342ad678ceec3b708ac56e2b7e5bd70185ac (diff)
downloadroflnauts-3139857cee53affa1c642f92da8d6a595a18c52e.zip
roflnauts-3139857cee53affa1c642f92da8d6a595a18c52e.tar.gz
roflnauts-3139857cee53affa1c642f92da8d6a595a18c52e.tar.bz2
And moved it to top
Diffstat (limited to 'config')
-rw-r--r--config/menuselect.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/menuselect.lua b/config/menuselect.lua
index fcfcc16..b1ce2cd 100644
--- a/config/menuselect.lua
+++ b/config/menuselect.lua
@@ -6,6 +6,12 @@ local selector = require "selector"
local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale()
return {
+ selector:new(menu)
+ :setPosition(10,10)
+ :set("list", require "nautslist")
+ :set("global", false)
+ :init()
+ ,
button:new(menu)
:setText("Go back")
:setPosition(10,height-25)
@@ -13,10 +19,4 @@ return {
self.parent:load("menumain")
end)
,
- selector:new(menu)
- :setPosition(10,10)
- :set("list", require "nautslist")
- :set("global", false)
- :init()
- ,
} \ No newline at end of file