[Res] [Alpha 10.5.3] Custom building - roof undo error

  • no interior
  • 2 doors (1xdouble, 1xsingle)
  • default roof options, wood

reproduce exactly: (other cases not tested)

  1. build a floor, walls, doors, windows
  2. build a roof
  3. undo the roof
  4. build a roof with another colour

as a result, hearthlings wont build this - and building cant be removed!

2015-Jun-28 16:41:35.380507 | server | 0 | lua.code | – Script Error (lua) Begin -------------------------------
2015-Jun-28 16:41:35.380507 | server | 0 | lua.code | …nehearth/components/building/building_component.luac:128: attempt to call method ‘layout’ (a nil value)
2015-Jun-28 16:41:35.380507 | server | 0 | lua.code | stack traceback:
2015-Jun-28 16:41:35.380507 | server | 0 | lua.code | [C]: in function 'layout’
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | …nehearth/components/building/building_component.luac:128: in function 'layout_roof’
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | stonehearth/services/server/build/build_service.luac:216: in function 'grow_roof’
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | stonehearth/services/server/build/build_service.luac:207: in function 'cb’
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | stonehearth/services/server/build/build_service.luac:295: in function 'do_command’
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | stonehearth/services/server/build/build_service.luac:207: in function <stonehearth/services/server/build/build_service.luac:206>
2015-Jun-28 16:41:35.381502 | server | 0 | lua.code | – Lua Error End -------------------------------

I’m not getting this happening for me. Did this happen for you right at the start of a new game? If not, have you tried a new game to see if it happens for you there too?

testing again with a fresh game now, going to build a small building, then undo the roof

okay bug seems to be fixed in 10-5_10 - closed

1 Like