From 6b57d4cccee47da475e8a5de42eeff303579dad9 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 31 Mar 2019 17:08:02 +0200 Subject: [PATCH] battlesystem: fix SubMenuWidget not being initalized --- sonic-radiance.love/scenes/battlesystem/controller/menu.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonic-radiance.love/scenes/battlesystem/controller/menu.lua b/sonic-radiance.love/scenes/battlesystem/controller/menu.lua index 25a424e..74aec2e 100644 --- a/sonic-radiance.love/scenes/battlesystem/controller/menu.lua +++ b/sonic-radiance.love/scenes/battlesystem/controller/menu.lua @@ -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"}