private static void RevertFightMapTargetingPhase(FightMap fightMap) { FightStatus local = FightStatus.local; if (local != null && local.currentTurnPlayerId == s_playerCasting.id) { if (fightMap.IsInTargetingPhase()) { fightMap.SetMovementPhase(); } } else { fightMap.EndCurrentPhase(); } }