From c772a0876a82ae7c3d8aee7c85ad2c4d98bbbf7b Mon Sep 17 00:00:00 2001 From: NullWanderer <56081759+NullWanderer@users.noreply.github.com> Date: Sun, 21 Apr 2024 22:53:34 +0200 Subject: [PATCH] Fix pirate radio event --- .../DeltaV/StationEvents/Events/PirateRadioSpawnRule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/DeltaV/StationEvents/Events/PirateRadioSpawnRule.cs b/Content.Server/DeltaV/StationEvents/Events/PirateRadioSpawnRule.cs index f0538c47f95..ba042d89662 100644 --- a/Content.Server/DeltaV/StationEvents/Events/PirateRadioSpawnRule.cs +++ b/Content.Server/DeltaV/StationEvents/Events/PirateRadioSpawnRule.cs @@ -39,7 +39,7 @@ public sealed class PirateRadioSpawnRule : StationEventSystem(); var aabbs = EntityQuery().SelectMany(x => x.Grids.Select(x => - xformQuery.GetComponent(x).WorldMatrix.TransformBox(_mapManager.GetGridComp(x).LocalAABB))) + xformQuery.GetComponent(x).WorldMatrix.TransformBox(_entities.GetComponent(x).LocalAABB))) .ToArray(); if (aabbs.Length < 1) return; var aabb = aabbs[0];