summaryrefslogtreecommitdiffhomepage
path: root/config/menusettings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/menusettings.lua')
-rw-r--r--config/menusettings.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/menusettings.lua b/config/menusettings.lua
index fc7d62e..380828d 100644
--- a/config/menusettings.lua
+++ b/config/menusettings.lua
@@ -5,3 +5,13 @@ local selector = require "selector"
local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale()
local bx = width/2-29
+
+return {
+ button:new(menu)
+ :setText("Go back")
+ :setPosition(bx,117)
+ :set("active", function (self)
+ self.parent:load("menumain")
+ end)
+ ,
+} \ No newline at end of file