- game.state.plnets[i].w = w;
- if (i < NINHAB) {
- game.state.plnets[i].pclass = M; // All inhabited planets are class M
- game.state.plnets[i].crystals = absent;
- game.state.plnets[i].known = known;
- game.state.plnets[i].inhabited = i;
+ game.state.planets[i].w = w;
+ if ((game.options & OPTION_WORLDS) && i < NINHAB) {
+ game.state.planets[i].pclass = M; // All inhabited planets are class M
+ game.state.planets[i].crystals = absent;
+ game.state.planets[i].known = known;
+ game.state.planets[i].inhabited = i;