Skip to content

Commit ea5d2b8

Browse files
author
DavidQ
committed
Enforce strict source-of-truth workspace data: remove skin loader fallbacks/legacy reconstruction, require expectedSchema, disable Skin Editor override storage, and stop Palette/Asset Browser auto-default selections.
1 parent bca7177 commit ea5d2b8

9 files changed

Lines changed: 123 additions & 554 deletions

File tree

games/SolarSystem/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function bootSolarSystem({
4242

4343
void loadGameSkin({
4444
gameId: 'SolarSystem',
45-
fallbackSchema: 'games.solar-system.skin/1'
45+
expectedSchema: 'games.solar-system.skin/1'
4646
}).then(({ skin }) => {
4747
const scene = new SceneClass({ skin });
4848
engine.setScene(scene);

games/bouncing-ball/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function bootBouncingBall({
4242

4343
void loadGameSkin({
4444
gameId: 'Bouncing-ball',
45-
fallbackSchema: 'games.bouncing-ball.skin/1'
45+
expectedSchema: 'games.bouncing-ball.skin/1'
4646
}).then(({ skin }) => {
4747
const scene = new SceneClass({ skin });
4848
engine.setScene(scene);

games/breakout/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function bootBreakout({
139139

140140
void loadGameSkin({
141141
gameId: 'Breakout',
142-
fallbackSchema: 'games.breakout.skin/1'
142+
expectedSchema: 'games.breakout.skin/1'
143143
}).then(({ skin }) => {
144144
const scene = new SceneClass({
145145
devConsoleIntegration,

games/pong/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function bootPong({
4242

4343
void loadGameSkin({
4444
gameId: 'Pong',
45-
fallbackSchema: 'games.pong.skin/1'
45+
expectedSchema: 'games.pong.skin/1'
4646
}).then(({ skin }) => {
4747
const scene = new SceneClass({ skin });
4848
engine.setScene(scene);

0 commit comments

Comments
 (0)