scenes/mainmenu: use the right function to call super
This commit is contained in:
parent
19a1e282ce
commit
c1102ecdd7
|
@ -10,7 +10,7 @@ function MenuObject:new(scene, name)
|
|||
x = 88
|
||||
y = 240/2 - height/2
|
||||
|
||||
DebugMenu.super.new(self, scene.menusystem, name, x, y, width, height, 3)
|
||||
MenuObject.super.new(self, scene.menusystem, name, x, y, width, height, 3)
|
||||
self.scene = scene
|
||||
|
||||
self.isActive = false
|
||||
|
|
Loading…
Reference in New Issue