1
This commit is contained in:
@@ -1513,8 +1513,11 @@ public class CreateFishManager : MonoSingleton<CreateFishManager>
|
||||
{
|
||||
if (sit.monCotl_Lock != null && sit.monCotl_Lock.guid == fishId)
|
||||
{
|
||||
sit.monCotl_Lock = null;
|
||||
sit.monCotl_Lock_Position = null;
|
||||
// ⭐ 必须完整清锁(ClearLock 置 isLock=false/隐藏锁定圈/重置 isManualLock/炮台回Idle),
|
||||
// 不能只清两个引用:isLock 残留 true 会让 GameMainPanel_FishBase.HandleAutoRotate
|
||||
// 对空 monCotl_Lock_Position 取 .position 每帧抛 NRE,
|
||||
// 排在其后的 CheckLockTargetValid/HandleAutoLock 永远执行不到 → 锁定系统卡死
|
||||
sit.ClearLock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user