Page 1 of 1

Forest Generator crashes without a Pond

Posted: Wed Jun 09, 2010 9:19 pm
by grayswandir
In engine/generator/map/Forest.lua:

Since there's the line stating:

Code: Select all

if self.do_ponds then
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:

Code: Select all

self.do_ponds.zoom = self.do_ponds.zoom or 5

Re: Forest Generator crashes without a Pond

Posted: Wed Jun 09, 2010 10:12 pm
by darkgod
Yup already fixed:)