fix(screens): set menu after the old is removed

This commit is contained in:
Kazhnuz 2020-08-23 12:06:18 +02:00
parent 722c69d733
commit ab0c325956

View file

@ -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)