mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
MISC: message formatting
Replaced someArray.toString() with someArray.join(", "). This will return "foo, bar, baz" (with spaces) instead of "foo,bar,baz" (no spaces).
This commit is contained in:
parent
1d5d839cd9
commit
c2ed9067e0
@ -1149,7 +1149,7 @@ export function gainCodingContractReward(
|
||||
if (!Factions[facName]) continue;
|
||||
Factions[facName].playerReputation += gainPerFaction;
|
||||
}
|
||||
return `Gained ${gainPerFaction} reputation for each of the following factions: ${factions.toString()}`;
|
||||
return `Gained ${gainPerFaction} reputation for each of the following factions: ${factions.join(", ")}`;
|
||||
case CodingContractRewardType.CompanyReputation: {
|
||||
if (reward.name == null || !Companies[reward.name]) {
|
||||
//If no/invalid company was designated, just give rewards to all factions
|
||||
|
Loading…
Reference in New Issue
Block a user