public static void TryJump(GlobalTargetInfo target) { if (target.IsValid) { target = CameraJumper.GetAdjustedTarget(target); if (target.HasThing) { CameraJumper.TryJumpInternal(target.Thing); } else if (target.HasWorldObject) { CameraJumper.TryJumpInternal(target.WorldObject); } else if (target.Cell.IsValid) { CameraJumper.TryJumpInternal(target.Cell, target.Map); } else { CameraJumper.TryJumpInternal(target.Tile); } } }