Missed clearing the options categories in options menu onWake

This commit is contained in:
JeffR 2022-02-23 00:29:00 -06:00
parent 725e2b1575
commit 9b4acda7bd

View file

@ -76,6 +76,8 @@ function OptionsMenuSettingsList::getOptionsList(%this, %index)
function OptionsMenu::onWake(%this)
{
OptionsMenuCategoryList.clear();
for(%i=0; %i < %this.optionsCategories.count(); %i++)
{
%catName = %this.optionsCategories.getKey(%i);