mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
Merge pull request #503 from danielyxie/v0.41.0-bugfixes
V0.41.0 bugfixes
This commit is contained in:
commit
8ab6b8fc8e
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -841,7 +841,7 @@ function GangMemberTask(name="", desc="", isHacking=false, isCombat=false,
|
||||
this.chaWeight = params.chaWeight ? params.chaWeight : 0;
|
||||
|
||||
if (Math.round(this.hackWeight + this.strWeight + this.defWeight + this.dexWeight + this.agiWeight + this.chaWeight) != 100) {
|
||||
throw new Error(`GangMemberTask ${this.name} weights do not add up to 100`);
|
||||
console.error(`GangMemberTask ${this.name} weights do not add up to 100`);
|
||||
}
|
||||
|
||||
// 1 - 100
|
||||
|
Loading…
Reference in New Issue
Block a user