build zero-item buildings with buildingplan

so they can be multi-built like all other buildings (the vanilla ui was
handling the build and then exiting out of the build menu)
develop
Myk Taylor 2023-03-06 20:51:41 -08:00
parent 3ba9459883
commit bc77a91d46
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

@ -1713,9 +1713,6 @@ function PlannerOverlay:onInput(keys)
if is_choosing_area() or cur_building_has_no_area() then
local filters = get_cur_filters()
local num_filters = #filters
if num_filters == 0 then
return false -- we don't add value; let the game place it
end
local choose = self.subviews.choose
if choose.enabled() and choose:getOptionValue() then
self:save_placement()