Skip to content

Commit

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

Fix darkness in GM views (reapply #4942)
  • Loading branch information
cwisniew authored Sep 23, 2024
2 parents e89b0b2 + 281c06b commit 072cf14
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 072cf14

Please sign in to comment.