diff --git a/examples/scenes/mainmenu/init.lua b/examples/scenes/mainmenu/init.lua index 4a22c16..19ef439 100644 --- a/examples/scenes/mainmenu/init.lua +++ b/examples/scenes/mainmenu/init.lua @@ -34,8 +34,7 @@ local ExitWidget = TextMenu.baseWidgets.Base:extend() local MENU_NAME = "mainMenu" -function MainMenu:new() - MainMenu.super.new(self) +function MainMenu:start() self.assets:batchImport("scenes.mainmenu.assets") print(self.assets:getFont("medium")) local menu = self:addMenu()