mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-18 15:22:48 +00:00
Merge branch 'v28'
This commit is contained in:
@@ -94,6 +94,14 @@ export class GameManager {
|
||||
return totalClients;
|
||||
}
|
||||
|
||||
desyncCount(): number {
|
||||
let totalDesyncs = 0;
|
||||
this.games.forEach((game: GameServer) => {
|
||||
totalDesyncs += game.desyncCount;
|
||||
});
|
||||
return totalDesyncs;
|
||||
}
|
||||
|
||||
tick() {
|
||||
const active = new Map<GameID, GameServer>();
|
||||
for (const [id, game] of this.games) {
|
||||
|
||||
Reference in New Issue
Block a user