From: no <165581243+pissdemon@users.noreply.github.com> Date: Mon, 15 Apr 2024 01:27:58 +0000 (+0200) Subject: Fix StepTrigger blacklist not working (#26968) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7810cbe41101fe152c6b30fea937cc4351d4ae29;p=space-station-14.git Fix StepTrigger blacklist not working (#26968) --- diff --git a/Content.Shared/StepTrigger/Systems/StepTriggerSystem.cs b/Content.Shared/StepTrigger/Systems/StepTriggerSystem.cs index b4ac2cde75..d81ad754d1 100644 --- a/Content.Shared/StepTrigger/Systems/StepTriggerSystem.cs +++ b/Content.Shared/StepTrigger/Systems/StepTriggerSystem.cs @@ -59,7 +59,7 @@ public sealed class StepTriggerSystem : EntitySystem if (component.Blacklist != null && TryComp(transform.GridUid, out var grid)) { - var positon = _map.LocalToTile(uid, grid, transform.Coordinates); + var positon = _map.LocalToTile(transform.GridUid.Value, grid, transform.Coordinates); var anch = _map.GetAnchoredEntitiesEnumerator(uid, grid, positon); while (anch.MoveNext(out var ent))