Fix rare atmos crash when explosively depressurizing too many tiles.
This commit is contained in:
@@ -397,6 +397,7 @@ namespace Content.Server.Atmos.EntitySystems
|
|||||||
if (!otherTile.AdjacentBits.IsFlagSet(direction)) continue;
|
if (!otherTile.AdjacentBits.IsFlagSet(direction)) continue;
|
||||||
otherTile2.MonstermosInfo = new MonstermosInfo {LastQueueCycle = queueCycle};
|
otherTile2.MonstermosInfo = new MonstermosInfo {LastQueueCycle = queueCycle};
|
||||||
_depressurizeTiles[tileCount++] = otherTile2;
|
_depressurizeTiles[tileCount++] = otherTile2;
|
||||||
|
if (tileCount >= limit) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user