log key for gang.ascendMember is 'gang.ascendMember' not 'gang.ascend'

fixes #2124
This commit is contained in:
TheMas3212 2022-01-09 13:21:18 +11:00
parent 8bf18c1981
commit a193f651bc
No known key found for this signature in database
GPG Key ID: 62A173A4FDA683CA

@ -354,7 +354,7 @@ export class Gang implements IGang {
const res = member.ascend(); const res = member.ascend();
this.respect = Math.max(1, this.respect - res.respect); this.respect = Math.max(1, this.respect - res.respect);
if (workerScript) { if (workerScript) {
workerScript.log("gang.ascend", () => `Ascended Gang member ${member.name}`); workerScript.log("gang.ascendMember", () => `Ascended Gang member ${member.name}`);
} }
return res; return res;
} catch (e: any) { } catch (e: any) {