Skip to content

Commit

Permalink
Fixes stay
Browse files Browse the repository at this point in the history
  • Loading branch information
mflerackers committed Jul 26, 2024
1 parent 268ebb7 commit e2e7652
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 e2e7652

Please sign in to comment.