mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
This commit is contained in:
commit
d9466d8c82
@ -748,7 +748,8 @@ const Engine = {
|
|||||||
item.appendChild(createElement("a", {
|
item.appendChild(createElement("a", {
|
||||||
innerText:"Accept Faction Invitation",
|
innerText:"Accept Faction Invitation",
|
||||||
class:"a-link-button", display:"inline", margin:"4px", padding:"4px",
|
class:"a-link-button", display:"inline", margin:"4px", padding:"4px",
|
||||||
clickListener:()=>{
|
clickListener: (e) => {
|
||||||
|
if (!e.isTrusted) { return false; }
|
||||||
joinFaction(Factions[factionName]);
|
joinFaction(Factions[factionName]);
|
||||||
for (var i = 0; i < Player.factionInvitations.length; ++i) {
|
for (var i = 0; i < Player.factionInvitations.length; ++i) {
|
||||||
if (Player.factionInvitations[i] == factionName || Factions[Player.factionInvitations[i]].isBanned) {
|
if (Player.factionInvitations[i] == factionName || Factions[Player.factionInvitations[i]].isBanned) {
|
||||||
|
Loading…
Reference in New Issue
Block a user