This one too
This commit is contained in:
parent
33453d809c
commit
c8e4a8ea01
@ -33,7 +33,7 @@ let checkWeaponHasCooldown (weapon : Item) attacker =
|
|||||||
attacker.Events
|
attacker.Events
|
||||||
|> Array.tryFind (fun a ->
|
|> Array.tryFind (fun a ->
|
||||||
match a.Type with
|
match a.Type with
|
||||||
| Hacking h -> h.HackId = weapon.Id
|
| Hacking h -> h.HackId = weapon.Id && h.IsInstigator
|
||||||
| Shielding id -> id = weapon.Id
|
| Shielding id -> id = weapon.Id
|
||||||
| _ -> false)
|
| _ -> false)
|
||||||
|> function
|
|> function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user