Revert "Update submodule (again)" (#7730)

This commit is contained in:
metalgearsloth
2022-04-24 02:26:00 +10:00
committed by GitHub
parent 7feea724fd
commit ecaad9c349
36 changed files with 151 additions and 292 deletions

View File

@@ -160,7 +160,7 @@ public sealed partial class ExplosionSystem : EntitySystem
// if this ever changes, this needs to do a try-get.
var data = new BlockedSpaceTile();
transformedEdges[tile] = data;
data.UnblockedDirections = AtmosDirection.Invalid; // all directions are blocked automatically.
if ((dir & NeighborFlag.Cardinal) == 0)
@@ -225,11 +225,11 @@ public sealed partial class ExplosionSystem : EntitySystem
if (!ev.NewTile.Tile.IsEmpty && !ev.OldTile.IsEmpty)
return;
if (!_mapManager.TryGetGrid(ev.Entity, out var grid))
return;
var tileRef = ev.NewTile;
if (!_mapManager.TryGetGrid(tileRef.GridIndex, out var grid))
return;
if (!_gridEdges.TryGetValue(tileRef.GridIndex, out var edges))
{
edges = new();