New Coding Contract faction selector sets reward.name

This commit is contained in:
danielyxie 2018-10-08 19:40:35 -05:00
parent 74761f5a08
commit b587409b87
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

@ -1194,6 +1194,7 @@ const Engine = {
// faction must allow hacking contracts
var numFactions = factionsThatAllowHacking.length;
var randFaction = factionsThatAllowHacking[getRandomInt(0, numFactions - 1)];
reward.name = randFaction;
break;
case CodingContractRewardType.CompanyReputation:
if (Player.companyName !== "") {