mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-29 21:02:13 +00:00
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:
@@ -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, () => {
|
||||
|
||||
Reference in New Issue
Block a user