Lookup changes (#18416)

This commit is contained in:
metalgearsloth
2023-08-06 12:44:05 +10:00
committed by GitHub
parent 066ec55525
commit d3aece12cb
10 changed files with 76 additions and 58 deletions

View File

@@ -172,7 +172,7 @@ public sealed partial class BlockingSystem : EntitySystem
var playerTileRef = xform.Coordinates.GetTileRef();
if (playerTileRef != null)
{
var intersecting = _lookup.GetEntitiesIntersecting(playerTileRef.Value);
var intersecting = _lookup.GetEntitiesIntersecting(playerTileRef.Value, 0f);
var mobQuery = GetEntityQuery<MobStateComponent>();
foreach (var uid in intersecting)
{