Hotfix gas tile overlay shading (#7576)

This commit is contained in:
mirrorcult 2022-04-15 17:51:05 -07:00 committed by GitHub
parent 094ca64aab
commit 566b1de774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ namespace Content.Client.Atmos.Overlays
var mapId = args.Viewport.Eye!.Position.MapId;
var worldBounds = args.WorldBounds;
drawHandle.UseShader(null);
foreach (var mapGrid in _mapManager.FindGridsIntersecting(mapId, worldBounds))
{
if (!_gasTileOverlaySystem.HasData(mapGrid.Index))