mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +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);
|
||||
|
||||
// Clear this scene from all environments that aren't deleted
|
||||
for (const environement of system.sceneEnvironments) {
|
||||
environement?.system?.scenes?.delete(this);
|
||||
for (const environment of system.sceneEnvironments) {
|
||||
environment?.system?.scenes?.delete(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue