Fixed not actually storing moons

This commit is contained in:
Francesco Macagno 2015-08-25 22:21:30 -07:00
parent 6f7a33974e
commit 298a40cfd8

View file

@ -96,6 +96,7 @@ public class StructureManager {
} else if (group.equalsIgnoreCase("moon")) { } else if (group.equalsIgnoreCase("moon")) {
Planetoid pl = new Planetoid(radius); Planetoid pl = new Planetoid(radius);
pl.loadFromXmlElement(struct); pl.loadFromXmlElement(struct);
moons.add(pl);
} }
} }
} }