Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
Fixed switch case options
Browse files Browse the repository at this point in the history
  • Loading branch information
shreystechtips committed Feb 11, 2019
1 parent 557474d commit 3d4aa9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NRGScoutingApp/Helper Classes/Ranker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ public Dictionary<String, double> getRank(MatchFormat.CHOOSE_RANK_TYPE x)
refresh();
switch (x)
{
case MatchFormat.CHOOSE_RANK_TYPE.pick1:
return cargoData;
case MatchFormat.CHOOSE_RANK_TYPE.pick2:
case MatchFormat.CHOOSE_RANK_TYPE.pick1: //hatch
return hatchData;
case MatchFormat.CHOOSE_RANK_TYPE.pick2: //cargo
return cargoData;
case MatchFormat.CHOOSE_RANK_TYPE.drop1:
return drop1_4Data;
case MatchFormat.CHOOSE_RANK_TYPE.drop2:
Expand Down

0 comments on commit 3d4aa9b

Please sign in to comment.