Skip to content

Commit

Permalink
Fix lighting style not being copied to new Zone instances.
Browse files Browse the repository at this point in the history
This is particular visible when starting a server.
  • Loading branch information
kwvanderlinde committed May 8, 2023
1 parent 2d43a38 commit 047b503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/rptools/maptool/model/Zone.java
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ public Zone(Zone zone, boolean keepIds) {
mapAsset = zone.mapAsset;
fogPaint = zone.fogPaint;
visionType = zone.visionType;
lightingStyle = zone.lightingStyle;

undo = new UndoPerZone(this); // Undo/redo manager isn't copied
setName(zone.getName());
Expand Down

0 comments on commit 047b503

Please sign in to comment.