diff --git a/src/components/misc/stay.ts b/src/components/misc/stay.ts index 45e7adfd..c4fa6529 100644 --- a/src/components/misc/stay.ts +++ b/src/components/misc/stay.ts @@ -13,13 +13,13 @@ export interface StayComp extends Comp { /** * Array of scenes that the obj will stay on. */ - scenesToStay: string[]; + scenesToStay?: string[]; } export function stay(scenesToStay?: string[]): StayComp { return { id: "stay", stay: true, - scenesToStay: scenesToStay ?? [], + scenesToStay, }; }