From 702309ce0517c4013e6f523f88e1e5ce4a392975 Mon Sep 17 00:00:00 2001 From: Kenneth VanderLinde Date: Thu, 19 Sep 2024 08:40:44 -0700 Subject: [PATCH] Fix check for GM view in the darkness renderer --- .../maptool/client/ui/zone/renderer/DarknessRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/rptools/maptool/client/ui/zone/renderer/DarknessRenderer.java b/src/main/java/net/rptools/maptool/client/ui/zone/renderer/DarknessRenderer.java index fa0e1daba8..cc7134ac0f 100644 --- a/src/main/java/net/rptools/maptool/client/ui/zone/renderer/DarknessRenderer.java +++ b/src/main/java/net/rptools/maptool/client/ui/zone/renderer/DarknessRenderer.java @@ -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();