mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Merge pull request #2488 from TheMas3212/fix-2124
log key for gang.ascendMember is 'gang.ascendMember' not 'gang.ascend'
This commit is contained in:
commit
8e816e9110
@ -25,8 +25,9 @@ import { GangMember } from "./GangMember";
|
||||
import { WorkerScript } from "../Netscript/WorkerScript";
|
||||
import { IPlayer } from "../PersonObjects/IPlayer";
|
||||
import { PowerMultiplier } from "./data/power";
|
||||
import { IGang } from "./IGang";
|
||||
|
||||
export class Gang {
|
||||
export class Gang implements IGang {
|
||||
facName: string;
|
||||
members: GangMember[];
|
||||
wanted: number;
|
||||
@ -353,7 +354,7 @@ export class Gang {
|
||||
const res = member.ascend();
|
||||
this.respect = Math.max(1, this.respect - res.respect);
|
||||
if (workerScript) {
|
||||
workerScript.log("gang.ascend", () => `Ascended Gang member ${member.name}`);
|
||||
workerScript.log("gang.ascendMember", () => `Ascended Gang member ${member.name}`);
|
||||
}
|
||||
return res;
|
||||
} catch (e: any) {
|
||||
|
Loading…
Reference in New Issue
Block a user