Fixed not actually storing moons
This commit is contained in:
parent
6f7a33974e
commit
298a40cfd8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue