Skip to content

Commit

Permalink
Fix ArgumentNullException from System.Collections.Generic.Dictionary`…
Browse files Browse the repository at this point in the history
  • Loading branch information
Viir committed Nov 7, 2017
1 parent d2cd8ca commit 06002c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Sanderling.ABot/Bot/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class Bot
}

public Int64? ToggleLastAgeStepCountFromModule(Accumulation.IShipUiModule module) =>
module == null ? null :
stepIndex - ToggleLastStepIndexFromModule?.TryGetValueNullable(module);

IEnumerable<IBotTask[]> StepOutputListTaskPath() =>
Expand Down

0 comments on commit 06002c5

Please sign in to comment.