FACTIONS: Followup changes for Rumors PR (#910)

This commit is contained in:
Snarling
2023-11-02 11:02:12 -04:00
committed by GitHub
parent fdcb8306d9
commit 2997384403
9 changed files with 63 additions and 196 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export function FactionsDev(): React.ReactElement {
Object.values(Factions).forEach((faction) => {
faction.discovery = FactionDiscovery.unknown;
});
Player.factionRumors.length = 0;
Player.factionRumors.clear();
setFactionDiscovery(Factions[factionName].discovery);
}