Game server ticks too much. Removed duplicate call to .tick (#271)

removes gameManager.tick as it is already ticking inside the
gameManagers contructor
This commit is contained in:
Peter
2025-03-17 16:58:45 +01:00
committed by GitHub
parent a9fe042c53
commit bd91d7c00b
-3
View File
@@ -308,9 +308,6 @@ export function startWorker() {
});
});
// Set up ticker
setInterval(() => gm.tick(), 1000);
// The load balancer will handle routing to this server based on path
const PORT = config.workerPortByIndex(workerId);
server.listen(PORT, () => {