diff --git a/Bot/Embeds.fs b/Bot/Embeds.fs index b01ccfa..118fa0b 100644 --- a/Bot/Embeds.fs +++ b/Bot/Embeds.fs @@ -41,7 +41,7 @@ let constructButtons (actionId: string) (buttonInfo : string) (player: PlayerDat player.Events |> Array.tryFind (fun i -> match i.Type with - | Hacking h -> h.HackId = item.Id + | Hacking h -> h.HackId = item.Id && h.IsInstigator | Shielding id -> id = item.Id | _ -> false) let btnColor = Game.getClassButtonColor item.Class