Ensure shields without toggles can still block damage
This commit is contained in:
parent
01190f91e9
commit
b9d2991858
|
|
@ -54,7 +54,7 @@ public sealed partial class BlockingSystem
|
|||
return;
|
||||
|
||||
// Delta V - Begin Fix Toggleable Shields always blocking
|
||||
if (!TryComp<ItemToggleComponent>(item, out var toggleComp) || !toggleComp.Activated)
|
||||
if (TryComp<ItemToggleComponent>(item, out var toggleComp) && !toggleComp.Activated)
|
||||
return;
|
||||
// Delta V - End
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue