Fix `forms.destroyall` not clearing the list

This commit is contained in:
YoshiRulz 2024-08-25 02:42:15 +10:00
parent 681a5764d6
commit c3057298f9
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ namespace BizHawk.Client.EmuHawk
{
_luaForms[i].Close();
}
_luaForms.Clear();
}
[LuaMethodExample("local infordro = forms.dropdown(333, { \"item 1\", \"item2\" }, 2, 48, 18, 24);")]