d2core/ui_manager: Properly reset widgetsGroups/tooltips

This commit is contained in:
juander 2020-11-21 13:40:58 +01:00
parent 96916863ff
commit 0d2a40a093
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ func (ui *UIManager) Reset() {
ui.widgets = nil
ui.clickableWidgets = nil
ui.pressedWidget = nil
ui.widgetsGroups = nil
ui.tooltips = nil
}
func (ui *UIManager) addClickable(widget ClickableWidget) {