Skip to content

Commit

Permalink
Merge pull request #4942 from kwvanderlinde/fixup/darkness-renderer-g…
Browse files Browse the repository at this point in the history
…m-check

Fix darkness in GM views
  • Loading branch information
cwisniew authored Sep 23, 2024
2 parents a2923e4 + 702309c commit 6543925
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public DarknessRenderer(RenderHelper renderHelper, ZoneView zoneView) {
}

public void render(Graphics2D g2d, PlayerView view) {
if (!view.isGMView()) {
if (view.isGMView()) {
return;
}
final Area darkness = zoneView.getIllumination(view).getDarkenedArea();
Expand Down

0 comments on commit 6543925

Please sign in to comment.