v2.1.0: fixed weapon generation calling random() twice

This commit is contained in:
Evan Debenham
2023-05-25 11:13:36 -04:00
parent 13fb3387e7
commit 23e9ea1f9f

View File

@@ -656,7 +656,6 @@ public class Generator {
} else {
w = (MeleeWeapon) random(wepTiers[Random.chances(floorSetTierProbs[floorSet])]);
}
w.random();
return w;
}
@@ -690,7 +689,6 @@ public class Generator {
} else {
w = (MissileWeapon)random(misTiers[Random.chances(floorSetTierProbs[floorSet])]);
}
w.random();
return w;
}