mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 23:26:28 +01:00
Update module/documents/scene.mjs
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
parent
503aa712e6
commit
553431de1a
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ export default class DhScene extends Scene {
|
||||||
const system = new game.system.api.data.scenes.DHScene(this.flags.daggerheart);
|
const system = new game.system.api.data.scenes.DHScene(this.flags.daggerheart);
|
||||||
|
|
||||||
// Clear this scene from all environments that aren't deleted
|
// Clear this scene from all environments that aren't deleted
|
||||||
for (const environement of system.sceneEnvironments) {
|
for (const environment of system.sceneEnvironments) {
|
||||||
environement?.system?.scenes?.delete(this);
|
environment?.system?.scenes?.delete(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue