mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Fixed bug with faction invitations not getting deleted
This commit is contained in:
@@ -643,12 +643,6 @@ const Engine = {
|
||||
clickListener: (e) => {
|
||||
if (!e.isTrusted) { return false; }
|
||||
joinFaction(Factions[factionName]);
|
||||
for (var i = 0; i < Player.factionInvitations.length; ++i) {
|
||||
if (Player.factionInvitations[i] == factionName || Factions[Player.factionInvitations[i]].isBanned) {
|
||||
Player.factionInvitations.splice(i, 1);
|
||||
i--;
|
||||
}
|
||||
}
|
||||
Engine.displayFactionsInfo();
|
||||
return false;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user