mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
Actually fix faction invite spam
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user