Skip to content

Commit

Permalink
Revert "Merge pull request #1430 from Floppixx/master"
Browse files Browse the repository at this point in the history
This reverts commit 572971c, reversing
changes made to dd82ec5.
  • Loading branch information
NecronomiconCoding committed Jul 30, 2016
1 parent 3e0e9d1 commit dbd8210
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions PoGo.NecroBot.Logic/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -478,14 +478,11 @@ AuthType ISettings.AuthType
}
}

// Never spawn at the same position.
private readonly Random _rand = new Random();

double ISettings.DefaultLatitude
{
get
{
return _settings.DefaultLatitude + _rand.NextDouble() * (0.2 - 0.01) + 0.01;
return _settings.DefaultLatitude;
}

set
Expand All @@ -498,7 +495,7 @@ double ISettings.DefaultLongitude
{
get
{
return _settings.DefaultLongitude + _rand.NextDouble() * (0.2 - 0.01) + 0.01;
return _settings.DefaultLongitude;
}

set
Expand Down

0 comments on commit dbd8210

Please sign in to comment.