fix: port mainMenu to the new Scene:start() API
This commit is contained in:
parent
baa5a24ce6
commit
150aad86f1
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue