Merge pull request #2986 from myk002/myk_multi_no_item

build zero-item buildings with buildingplan
develop
Myk 2023-03-07 10:25:50 -08:00 committed by GitHub
commit bdacf560af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()