caligari87 / ObAddon

A repository of community-built prefabs and other enhancements for Oblige 7.70
https://caligari87.github.io/ObAddon/
GNU General Public License v3.0
80 stars 11 forks source link

Script error: attempt to index local 'src_area' (a nil value) #78

Closed ryanhaney97 closed 4 years ago

ryanhaney97 commented 4 years ago

It looks like a good portion of the time when generating with the latest build (pulled from master), src_area in cave.lua is nil/null. Not too sure about how this code works, but I could at least pinpoint that. Can attach the generator settings I'm using too if that would be useful, though maybe knowing where the problem is happening is enough.

GTD-Carthage commented 4 years ago

The newest cutting edge build should resolve this. Try again with the new build and if it still doesn't work, post your LOG here right after an error happens. This issue was because the new vista type can't find a floor chunk to borrow a height from when facing naturalistic parks or caves (but neither rooms support any vista type)