Forest Generator crashes without a Pond
Posted: Wed Jun 09, 2010 9:19 pm
In engine/generator/map/Forest.lua:
Since there's the line stating:in the _M:generate function, I'm assuming that the ponds are supposed to be optional.
However, if you don't supply a do_ponds argument, then it crashes in the _M:init function at:
Since there's the line stating:
Code: Select all
if self.do_ponds then
However, if you don't supply a do_ponds argument, then it crashes in the _M:init function at:
Code: Select all
self.do_ponds.zoom = self.do_ponds.zoom or 5