feat(battle-sim): add battle simulation scripts and refactor schemas

This commit is contained in:
2025-12-30 11:27:37 +00:00
parent 56e662a7db
commit 4de688d642
4 changed files with 103 additions and 96 deletions
+1
View File
@@ -101,6 +101,7 @@ export const createGameApiServer = async () => {
profile: config.profileName,
}));
app.addHook('onClose', async () => {
await flushSubscriber.stop();
await flushSubscriberClient.quit();