Ensure shields without toggles can still block damage (#5697)
This commit is contained in:
parent
02b540ca34
commit
c55e2acd10
|
|
@ -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