Skip to content

Commit

Permalink
Fix API issues (MobBotTeam#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
DurtyFree authored Aug 3, 2016
1 parent 52e7c7b commit eb1c6ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PoGo.PokeMobBot.Logic/Tasks/FarmPokestopsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private static async Task<List<FortData>> GetPokeStops(ISession session)
// Wasn't sure how to make this pretty. Edit as needed.
if (session.LogicSettings.Teleport)
{
pokeStops = mapObjects.MapCells.SelectMany(i => i.Forts)
pokeStops = mapObjects.Item1.MapCells.SelectMany(i => i.Forts)
.Where(
i =>
i.Type == FortType.Checkpoint &&
Expand All @@ -455,7 +455,7 @@ private static async Task<List<FortData>> GetPokeStops(ISession session)
}
else
{
pokeStops = mapObjects.MapCells.SelectMany(i => i.Forts)
pokeStops = mapObjects.Item1.MapCells.SelectMany(i => i.Forts)
.Where(
i =>
i.Type == FortType.Checkpoint &&
Expand Down
2 changes: 1 addition & 1 deletion Pokemon-Go-Rocket-API

0 comments on commit eb1c6ab

Please sign in to comment.