Fix rare atmos crash when explosively depressurizing too many tiles.

This commit is contained in:
Vera Aguilera Puerto
2021-09-06 17:11:11 +02:00
parent a8e7fb4977
commit 9f4ea1e5a9

View File

@@ -397,6 +397,7 @@ namespace Content.Server.Atmos.EntitySystems
if (!otherTile.AdjacentBits.IsFlagSet(direction)) continue;
otherTile2.MonstermosInfo = new MonstermosInfo {LastQueueCycle = queueCycle};
_depressurizeTiles[tileCount++] = otherTile2;
if (tileCount >= limit) break;
}
}