mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
GANG: Rename equipment that uses real brand names (#2293)
This commit is contained in:
@@ -276,7 +276,10 @@ export function NetscriptGang(): InternalAPI<IGang> {
|
||||
getGang(ctx);
|
||||
const member = getGangMember(ctx, memberName);
|
||||
const equipment = GangMemberUpgrades[equipName];
|
||||
if (!equipment) return false;
|
||||
if (!equipment) {
|
||||
ctx.workerScript.log("gang.purchaseEquipment", () => `'${equipName}' is not a valid equipment`);
|
||||
return false;
|
||||
}
|
||||
const res = member.buyUpgrade(equipment);
|
||||
if (res) {
|
||||
ctx.workerScript.log(
|
||||
|
||||
Reference in New Issue
Block a user