Skip to content

Commit

Permalink
Fix check for GM view in the darkness renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvanderlinde committed Sep 19, 2024
1 parent e89b0b2 commit 281c06b
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 281c06b

Please sign in to comment.