Fixed loading of new scenes for travel

This commit is contained in:
Light2
2013-11-21 01:26:09 +01:00
parent b6921a7dc9
commit 3f721f876f
4 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ public class TerrainService {
public Planet getPlanetByName(String name) {
for (int i = 0; i < planets.size(); i++) {
if (planets.get(i).getName().equals(name)) {
if (planets.get(i).getName().equalsIgnoreCase(name)) {
return planets.get(i);
}
}