Skip to content

Commit

Permalink
fix: Fixes stay (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
mflerackers authored Jul 26, 2024
1 parent 268ebb7 commit 102de9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/misc/stay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}

0 comments on commit 102de9d

Please sign in to comment.