()
| 8 | static override loadingOrder = -2; |
| 9 | |
| 10 | static override async setup(): Promise<void> { |
| 11 | this.engine.history('scene'); |
| 12 | this.engine.history('sceneElements'); |
| 13 | this.engine.history('sceneState'); |
| 14 | |
| 15 | this.engine.global('_should_restore_nvl', false); |
| 16 | |
| 17 | this.engine.state({ |
| 18 | scene: '' |
| 19 | }); |
| 20 | } |
| 21 | |
| 22 | static override async onLoad(): Promise<void> { |
| 23 | const sceneState = this.engine.history('sceneState'); |