yyl
1 天以前 98d367b0732a5eaa2105f1c285ad040b9fa40a07
Main/Manager/UIManager.cs
@@ -492,7 +492,8 @@
                int idleRounds = currentRound - ui.lastUsedRound;
                
                // 如果空闲回合数超过最大空闲回合数,添加到关闭列表
                if (idleRounds > ui.maxIdleRounds)
                //  2025 11/13 修复 持久化UI被销毁的问题
                if (idleRounds > ui.maxIdleRounds && !ui.isPersistent)
                {
                    uiToClose.Add(ui);
                    uiToRemove.Add(ui);