fixed some things

This commit is contained in:
Magesofthebeach 2020-02-29 16:30:17 -05:00 committed by GitHub
parent 6507138d99
commit e45158cbe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,6 @@ export default class PackSimulator extends React.Component {
let newSets = ["AU", "FAS"];
let weirdSets = ["OP1", "PE1"];
if (weirdsets.indexOf(this.set) == -1){
for (let i = 0; i < this.packs; i++) {
// Before AU sets
if (newSets.indexOf(this.set) == -1 && weirdSets.indexOf(this.set) == -1) {
@ -185,6 +184,7 @@ export default class PackSimulator extends React.Component {
genrarity("Super Rare", 5);
genrarity("Ultra Rare", 1);
}
card_names = [];
}
this.filter.removeDynamicView('set');