Skip to content

Commit

Permalink
Merge pull request NecronomiconCoding#1538 from padmanek/patch-2
Browse files Browse the repository at this point in the history
DumpPokemonStats fix
  • Loading branch information
NecronomiconCoding authored Jul 31, 2016
2 parents 70bfc19 + 45a3496 commit 1a248dd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions PoGo.NecroBot.Logic/State/InfoState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ public class InfoState : IState
public async Task<IState> Execute(ISession session, CancellationToken cancellationToken)
{
cancellationToken.ThrowIfCancellationRequested();

if (session.LogicSettings.AmountOfPokemonToDisplayOnStart > 0)
await DisplayPokemonStatsTask.Execute(session);

await DisplayPokemonStatsTask.Execute(session);
return new FarmState();
}
}
}
}

0 comments on commit 1a248dd

Please sign in to comment.