[New_builder] Breaking vision

Summary: A multi story building is showing all of it’s levels but the level in the menu shows 1. Scrolling down to a lower level prompts an error.

Steps to reproduce:

  1. Have a building with multiple rooms stacked on top of each other
  2. Save
  3. Load
  4. Highlight the building - it will be visible whole, but the level is going to show 1
  5. Click to visually peel off a level

Expected Results:

Actual Results:

release-841 (x64)
…s/client/building_vision/building_vision_service.lua:324: assign to undeclared variable ‘cur_level’
stack traceback:
[C]: ?
[C]: in function ‘error’
radiant/lib/strict.lua:22: in function <radiant/lib/strict.lua:18>
…s/client/building_vision/building_vision_service.lua:324: in function ‘down_visible_level’
…services/client/building/building_client_service.lua:610: in function <…services/client/building/building_client_service.lua:609>

release-841 (x64)
c++ exception: lua runtime error
stack traceback:

Attachments: I don’t think you need it for this but here you go: 1526320658441.rar (2.4 MB)

Version Number and Mods in use: r-841; no mods

1 Like