mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Merge pull request #4237 from Jakob002/Jakob002-patch-2
MISC: message formatting
This commit is contained in:
commit
70fa66c3e8
@ -1149,7 +1149,7 @@ export function gainCodingContractReward(
|
|||||||
if (!Factions[facName]) continue;
|
if (!Factions[facName]) continue;
|
||||||
Factions[facName].playerReputation += gainPerFaction;
|
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: {
|
case CodingContractRewardType.CompanyReputation: {
|
||||||
if (reward.name == null || !Companies[reward.name]) {
|
if (reward.name == null || !Companies[reward.name]) {
|
||||||
//If no/invalid company was designated, just give rewards to all factions
|
//If no/invalid company was designated, just give rewards to all factions
|
||||||
|
Loading…
Reference in New Issue
Block a user