This commit is contained in:
zhangzheng
2025-12-15 13:53:53 +08:00
parent c7c06d7e43
commit fb0d69cff9
2 changed files with 2 additions and 2 deletions

View File

@@ -277,7 +277,7 @@ namespace Stary.Evo.UIFarme
{
for (int i = 0; i < queuePanel.Count; i++)
{
if (queuePanel[i].GetType().Name == panelName)
if (queuePanel[i].UIName == panelName)
{
queuePanel[i].OnExit();
queuePanel.RemoveAt(i);