Check if it's instigating
This commit is contained in:
parent
239de0ac73
commit
33453d809c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user