diff options
Diffstat (limited to 'config/menustart.lua')
-rw-r--r-- | config/menustart.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/menustart.lua b/config/menustart.lua index 46015a9..2472df5 100644 --- a/config/menustart.lua +++ b/config/menustart.lua @@ -6,8 +6,8 @@ return { button:new(menu) :setText("Go back") :setPosition(10,40) - :set("active", function () - changeScene(Menu:new("menumain")) + :set("active", function (self) + self.parent:load("menumain") end) , }
\ No newline at end of file |