mapgen: Resolve nodes in ctor rather than makeChunk
Fix uninitialized variable warning