Ensure shields without toggles can still block damage

This commit is contained in:
BarryNorfolk 2026-04-19 09:48:41 +02:00
parent 01190f91e9
commit b9d2991858
1 changed files with 1 additions and 1 deletions

View File

@ -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