moo-man / FVTT-DD-Import

Allows Importing Dungeondraft map files into FoundryVTT
MIT License
59 stars 27 forks source link

Foundry Version 12: Light Radius is always 0 #143

Closed Peddro closed 2 months ago

Peddro commented 2 months ago

When importing a map the Light radius seems to be always 0 ft. They are in the correct place, just without any light.

A simple solution would be to change the lights manually but (I think) this is a bug in the module.

Perhaps this is why that happens:

Error: You are accessing BasePackage#gridDistance which has been migrated to BasePackage#grid.distance.
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
    at Object.logCompatibilityWarning (foundry-esm.js:4605:19)
    at System.get (foundry-esm.js:17784:27)
    at DDImporter.GetLights (ddimport.js:783:45)
    at DDImporter.DDImport (ddimport.js:532:22)
    at DDImporter._updateObject (ddimport.js:317:18)
    at async DDImporter._onSubmit (foundry.js:6641:7)