mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
Minor fixes to new Sleeve API
This commit is contained in:
+5
-1
@@ -283,7 +283,11 @@ PlayerObject.prototype.prestigeAugmentation = function() {
|
||||
|
||||
for (let i = 0; i < this.sleeves.length; ++i) {
|
||||
if (this.sleeves[i] instanceof Sleeve) {
|
||||
this.sleeves[i].shockRecovery(this);
|
||||
if (this.sleeves[i].shock >= 100) {
|
||||
this.sleeves[i].synchronize(this);
|
||||
} else {
|
||||
this.sleeves[i].shockRecovery(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user