Merge pull request #1240 from danielyxie/dev

Add companyName to getPlayer
This commit is contained in:
hydroflame 2021-09-13 17:11:39 -04:00 committed by GitHub
commit ab29f249c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,8 +44,26 @@ function prestigeAugmentation() {
initBitNodeMultipliers(Player);
const megaCorpFactions = [
"ECorp",
"MegaCorp",
"Bachman & Associates",
"Blade Industries",
"NWO",
"Clarke Incorporated",
"Omnitek Incorporated",
"Four Sigma",
"KuaiGong International",
"Fulcrum Secret Technologies"];
let maintainMembership = Player.factions.filter(function (faction) {
return megaCorpFactions.includes(faction);
});
Player.prestigeAugmentation();
Player.factions = Player.factions.concat(maintainMembership);
// Now actually go to the Terminal Screen (and reset it)
var mainMenu = document.getElementById("mainmenu-container");
mainMenu.style.visibility = "visible";