A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(editor-checks): soak asked play to start twice, then waited for it to stop
esengine32a8376f4ff7
diff --git a/desktop/scripts/editor-checks/soak.mjs b/desktop/scripts/editor-checks/soak.mjsindex abd037e11..59e2df5c0 100644--- a/desktop/scripts/editor-checks/soak.mjs+++ b/desktop/scripts/editor-checks/soak.mjs@@ -68,7 +68,7 @@ export async function run(ed) {if (!check(ready, `cycle ${cycle}: the play realm never reported ready`)) return check.failures;await ed.call('step', { frames: 10, dt: 1 / 60 }, 60000);- await ed.call('set_play', { state: 'playing' }, 120000);+ await ed.call('set_play', { state: 'stopped' }, 120000);let stopped = false;for (let i = 0; i < 40 && !stopped; i++) {stopped = (await ed.json('get_play_state', {}))?.playing === false;