images back

images are back as an option due to public outcry

bug fixes
  getting a power up quickly after warp, difficulty or instructions power ups was making the screen go blank
  heuristics resets on death properly now
This commit is contained in:
landgreen
2024-10-09 18:53:18 -07:00
parent a8c6c0ea0e
commit 9c2c9be4ed
6 changed files with 21 additions and 18 deletions

View File

@@ -1287,13 +1287,14 @@ const tech = {
},
refundAmount: 0,
remove() {
if (this.count && m.alive) {
for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i]
if (this.count) {
// for (let i = 0; i < this.totalRate.length; i++) tech.fireRate *= this.totalRate[i]
if (this.refundAmount > 0) {
tech.removeJunkTechFromPool(this.refundAmount)
this.refundAmount = 0
}
}
tech.fireRate = 1
this.totalRate.length = 0
b.setFireCD();
}