Actually fix faction invite spam

This commit is contained in:
omuretsu 2023-10-04 10:32:33 -04:00
parent 7226a9effa
commit 32197e024d

@ -23,6 +23,7 @@ import { getAugCost } from "../Augmentation/AugmentationHelpers";
import { createEnumKeyedRecord, getRecordKeys } from "../Types/Record";
export function inviteToFaction(faction: Faction): void {
if (faction.alreadyInvited || faction.isMember) return;
Player.receiveInvite(faction.name);
faction.alreadyInvited = true;
if (!Settings.SuppressFactionInvites) {