mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Rework faction rumor (#2569)
This commit is contained in:
@@ -58,14 +58,11 @@ export function prestigeAugmentation(): void {
|
||||
|
||||
initBitNodeMultipliers();
|
||||
|
||||
// Maintain invites to factions with the 'keepOnInstall' flag, and rumors about others
|
||||
// Maintain invites to factions with the 'keepOnInstall' flag
|
||||
const maintainInvites = new Set<FactionName>();
|
||||
const maintainRumors = new Set<FactionName>();
|
||||
for (const facName of [...Player.factions, ...Player.factionInvitations]) {
|
||||
if (Factions[facName].getInfo().keep) {
|
||||
maintainInvites.add(facName);
|
||||
} else {
|
||||
maintainRumors.add(facName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,9 +190,6 @@ export function prestigeAugmentation(): void {
|
||||
}
|
||||
}
|
||||
|
||||
// Hear rumors after all invites/bans
|
||||
for (const factionName of maintainRumors) Player.receiveRumor(factionName);
|
||||
|
||||
resetPidCounter();
|
||||
ProgramsSeen.clear();
|
||||
InvitationsSeen.clear();
|
||||
|
||||
Reference in New Issue
Block a user