Ensure shields without toggles can still block damage (#5697)

This commit is contained in:
BarryNorfolk 2026-05-11 05:21:06 +02:00 committed by GitHub
parent 02b540ca34
commit c55e2acd10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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