- 386
- Posts
- 18
- Years
- Seen Aug 10, 2015
I encourage the following change to be made for the next
version of Pokemon Essentials.
Replace the code in the self.getLatLong method in PBDayNight (in PokemonUtilities) with:
Replace the code in the getRoughLatLon method (in PokemonUtilities) with:
Currently the getLatLong functions are only used for day/night tinting. This is
only an aesthetic use, so using the user's real location is, strictly speaking,
not necessary.
version of Pokemon Essentials.
Replace the code in the self.getLatLong method in PBDayNight (in PokemonUtilities) with:
Code:
def self.getLatLong
[40*Math::PI/180,-70*Math::PI/180]
end
Replace the code in the getRoughLatLon method (in PokemonUtilities) with:
Code:
def getRoughLatLon()
[40*Math::PI/180,-70*Math::PI/180]
end
only an aesthetic use, so using the user's real location is, strictly speaking,
not necessary.