Skip to content

Commit

Permalink
revert test, increase limit and disable swea
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed May 19, 2024
1 parent 0c71266 commit 1f48c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
- name: Setup Resharper
run: dotnet tool install -g JetBrains.ReSharper.GlobalTools
- name: Run Linter
run: jb inspectcode OpenDream.sln -o="output.json" --project="OpenDream*"
run: jb inspectcode OpenDream.sln -o="output.json" --project="OpenDream*;DM*" --no-swea
- name: Annotate Lints
uses: equisoft-actions/[email protected]
with:
sarif-path: ./output.json
limit: 200
4 changes: 2 additions & 2 deletions OpenDreamClient/Rendering/DreamViewOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ private void DrawAll(OverlayDrawArgs args, EntityUid eye, Vector2i viewportSize)
}

var eyeTile = _mapSystem.GetTileRef(gridUid, grid, eyeCoords);
var Tiles = CalculateTileVisibility(gridUid, grid, eyeTile, seeVis);
var tiles = CalculateTileVisibility(gridUid, grid, eyeTile, seeVis);

RefreshRenderTargets(args.WorldHandle, viewportSize);

CollectVisibleSprites(Tiles, gridUid, grid, eyeTile, seeVis, sight, args.WorldAABB);
CollectVisibleSprites(tiles, gridUid, grid, eyeTile, seeVis, sight, args.WorldAABB);
ClearPlanes();
ProcessSprites(worldHandle, viewportSize, args.WorldAABB);

Expand Down

0 comments on commit 1f48c67

Please sign in to comment.