fix(screens): set menu after the old is removed
This commit is contained in:
parent
722c69d733
commit
ab0c325956
1 changed files with 1 additions and 1 deletions
|
@ -8,8 +8,8 @@ function MenuScreenParent:new(scene)
|
||||||
|
|
||||||
self.menuObj = menu
|
self.menuObj = menu
|
||||||
|
|
||||||
self:setMenu()
|
|
||||||
self.scene:registerScreen(self)
|
self.scene:registerScreen(self)
|
||||||
|
self:setMenu()
|
||||||
end
|
end
|
||||||
|
|
||||||
function MenuScreenParent:update(dt)
|
function MenuScreenParent:update(dt)
|
||||||
|
|
Loading…
Reference in a new issue