mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 09:42:13 +00:00
actually call heartbeat, remove interval in GameRunner
This commit is contained in:
@@ -184,7 +184,7 @@ export class ClientGameRunner {
|
||||
});
|
||||
const worker = this.worker;
|
||||
const keepWorkerAlive = () => {
|
||||
worker.sendHeartbeat;
|
||||
worker.sendHeartbeat();
|
||||
requestAnimationFrame(keepWorkerAlive);
|
||||
};
|
||||
requestAnimationFrame(keepWorkerAlive);
|
||||
|
||||
Reference in New Issue
Block a user