mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Actually fix faction invite spam
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user