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

Commit

Permalink
Merge pull request #904 from Necrobot-Private/feature/reanble-snipe
Browse files Browse the repository at this point in the history
Feature/reanble snipe
  • Loading branch information
samuraitruong authored Feb 18, 2017
2 parents 0d511e2 + c84a796 commit 60440bd
Show file tree
Hide file tree
Showing 3 changed files with 323 additions and 2 deletions.
5 changes: 4 additions & 1 deletion PoGo.NecroBot.Logic/Model/Settings/GlobalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,10 @@ private static void MigrateSettings(JObject settings, string configFile, string
settings["PokemonConfig"]["DefaultBuddyPokemon"] = new string(a);
}
break;

case 13:
settings["PokemonConfig"]["FavoriteOperator"] = "and";
settings["PokemonConfig"]["FavoriteMinLevel"] = 0;
break;
// Add more here.
}
}
Expand Down
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Model/Settings/UpdateConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public UpdateConfig() : base()
{
}

public const int CURRENT_SCHEMA_VERSION = 13;
public const int CURRENT_SCHEMA_VERSION = 14;

[DefaultValue(CURRENT_SCHEMA_VERSION)]
[JsonProperty(Required = Required.DisallowNull, DefaultValueHandling = DefaultValueHandling.Populate, Order = 1)]
Expand Down
Loading

0 comments on commit 60440bd

Please sign in to comment.