Prechádzať zdrojové kódy

Don't try to fit if full

Reddo 5 rokov pred
rodič
commit
eaddca1e26

+ 4 - 0
app/World/Classes/ContentPicker/ContentMolecule.ts

@@ -43,6 +43,10 @@ class ContentMolecule {
                 missingAtoms = cachedAtoms;
                 chosenOnes.push(k);
             }
+
+            if (missingAtoms.length == 0) {
+                break;
+            }
         }
 
         if (missingAtoms.length == 0) {