Skip to content

Commit

Permalink
Update the main.js One line change
Browse files Browse the repository at this point in the history
If shuffleLayerConfigurations = true and network = NETWORK.sol the generated image files start with 0, but still end at the same number. We need to reduce it by 1.
  • Loading branch information
arnoldy200 authored May 4, 2022
1 parent d8ee279 commit 4f53766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ const startCreating = async () => {
let abstractedIndexes = [];
for (
let i = network == NETWORK.sol ? 0 : 1;
i <= layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo;
i <= (layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo - (network == NETWORK.eth ? 0 : 1));
i++
) {
abstractedIndexes.push(i);
Expand Down

0 comments on commit 4f53766

Please sign in to comment.