battlesystem: fix SubMenuWidget not being initalized
This commit is contained in:
parent
5ab143e5f4
commit
6b57d4ccce
1 changed files with 2 additions and 0 deletions
|
@ -3,7 +3,9 @@ local Widget = require "core.modules.menusystem.widgets"
|
|||
|
||||
local MenuConstructor = Object:extend()
|
||||
local CharacterMenu = ListBox:extend()
|
||||
|
||||
local CharMenuWidget = Widget.Text:extend()
|
||||
local SubMenuWidget = CharMenuWidget:extend()
|
||||
|
||||
local BaseMenu = {"attack", "techs", "object", "defend", "flee", "back"}
|
||||
|
||||
|
|
Loading…
Reference in a new issue