We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c98636 commit 4d1f283Copy full SHA for 4d1f283
scripts/levels.js
@@ -57,6 +57,11 @@ class Levels {
57
let range0 = parseInt(range[0]);
58
let range1 =
59
range[1].toLowerCase() == "infinity" ? 10000 : parseInt(range[1]);
60
+ if(range[1].toLowerCase()=="infinity"){
61
+ tile.isLevel=false
62
+ }else{
63
+ tile.isLevel=true
64
+ }
65
tiles.push({
66
tile: tile,
67
poly: tile.roomPoly,
@@ -256,8 +261,8 @@ class Levels {
256
261
)}, Tiles: ${allTiles} Lights: ${lights} Holes: ${holes}`
257
262
);
258
263
}
259
- canvas.lighting.placeables.forEach((l) => l.updateSource());
260
264
canvas.lighting.refresh();
265
+ canvas.lighting.placeables.forEach((l) => l.updateSource());
266
267
268
clearLights(lights) {
0 commit comments