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
|
player.Events
|
||||||
|> Array.tryFind (fun i ->
|
|> Array.tryFind (fun i ->
|
||||||
match i.Type with
|
match i.Type with
|
||||||
| Hacking h -> h.HackId = item.Id
|
| Hacking h -> h.HackId = item.Id && h.IsInstigator
|
||||||
| Shielding id -> id = item.Id
|
| Shielding id -> id = item.Id
|
||||||
| _ -> false)
|
| _ -> false)
|
||||||
let btnColor = Game.getClassButtonColor item.Class
|
let btnColor = Game.getClassButtonColor item.Class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user