Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Been really enjoying the game so far.


I get this error when attempting re-assign a female villager to a house with a male villager. They were both living in separate houses before. I resumed the game and attempted the same thing, with the same result.


Error

src/game/constructioncomponent.lua:250: attempt to perform arithmetic on a nil value

Traceback

main.lua:178: in function 'handler'
src/game/constructioncomponent.lua:250: in function 'unreserveResource'
src/game/villagersystem.lua:915: in function '_stopAll'
src/game/villagersystem.lua:1175: in function 'unassignedEvent'
src/game/villagersystem.lua:1031: in function <src/game/villagersystem.lua:1016>
lib/lovetoys/src/EventManager.lua:61: in function 'fireEvent'
src/game/init.lua:691: in function '_handleClick'
src/game/init.lua:539: in function <src/game/init.lua:520>
main.lua:90: in function <main.lua:80>
[C]: in function 'xpcall'

(+1)

Thanks for reporting the crash! It has been fixed in v0.1.3. Hopefully your old save should start working with the new version.