Queue server creation and verify health and selected map before completion
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { processDestructions } from '../fleet/create.js';
|
||||
import { processDestructions, processCreations } from '../fleet/create.js';
|
||||
import { sweep } from './sweep.js';
|
||||
import { betaTick } from './beta-runner.js';
|
||||
import { emit } from './bus.js';
|
||||
@@ -28,6 +28,8 @@ function tick(): Promise<void> {
|
||||
}
|
||||
|
||||
async function runTick(): Promise<void> {
|
||||
try { await processCreations(); }
|
||||
catch (err) { console.error('[worker] creation error:', err); }
|
||||
try { await processDestructions(); }
|
||||
catch (err) { console.error('[worker] destruction error:', err); }
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user