Skip to content

Commit

Permalink
Fixed fungal gen
Browse files Browse the repository at this point in the history
Closes #350
  • Loading branch information
TwoAbove committed May 11, 2024
1 parent c0c42ef commit 8a9681e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file not shown.
Binary file modified src/services/SeedInfo/infoHandler/InfoProviders/Fungal/Fungal.wasm
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,11 @@ PickForSeed(uint ws, int maxShifts = 20)
std::string to_material = to.material;
for (const auto &it : from.materials)
{
if (it != to_material)
auto from_len = from_materials.size();
if (from_len == 0 || it != to_material)
{
converted_any = true;
from_materials.push_back(it);
converted_any = true;
}
}

Expand Down

0 comments on commit 8a9681e

Please sign in to comment.