yyl
8 小时以前 98d367b0732a5eaa2105f1c285ad040b9fa40a07
18 子 2D卡牌客户端搭建 UI 持久化被误销毁的问题
1个文件已修改
3 ■■■■ 已修改文件
Main/Manager/UIManager.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);