Skip to content

Commit

Permalink
Merge pull request #600 from wxwisiasdf/wjerjwenfjosdnof
Browse files Browse the repository at this point in the history
FIX FIX FIX
  • Loading branch information
schombert authored Oct 28, 2023
2 parents 1fa1ae0 + 1b3492d commit 6794c32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class factory_build_list : public listbox_element_base<factory_build_item, dcon:
}
// Then the ones that can't be built
for(const auto ftid : state.world.in_factory_type) {
if(!command::can_begin_factory_building_construction(state, state.local_player_nation, sid, ftid, false) && std::find(desired_types.begin(), desired_types.end(), ftid) == desired_types.end()) {
if(!command::can_begin_factory_building_construction(state, state.local_player_nation, sid, ftid, false)) {
row_contents.push_back(ftid);
}
}
Expand Down

0 comments on commit 6794c32

Please sign in to comment.