diff --git a/CHANGELOG.md b/CHANGELOG.md index 4436dc809..fb603439a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,6 +70,7 @@ are doing mtv adjustments during precollision. ### Fixed +- Fixed issue where you were required to provide a transition if you provided a loader in the `ex.Engine.start('scene', { loader })` - Fixed issue where `ex.Scene.onPreLoad(loader: ex.DefaultLoader)` would lock up the engine if there was an empty loader - Fixed issue where `ex.Scene` scoped input events would preserve state and get stuck causing issues when switching back to the original scene. - Fixed issue where not all physical keys from the spec were present in `ex.Keys` including the reported `ex.Keys.Tab` diff --git a/src/engine/Director/Director.ts b/src/engine/Director/Director.ts index d33c176f4..1b128667b 100644 --- a/src/engine/Director/Director.ts +++ b/src/engine/Director/Director.ts @@ -58,9 +58,9 @@ export type SceneMap = Record { let maybeStartTransition: Transition; - if (options) { + if (options?.inTransition) { const { inTransition } = options; maybeStartTransition = inTransition; }