make GameManager more efficient

This commit is contained in:
Evan
2025-02-27 20:10:45 -08:00
parent 38365fd9d0
commit a9caee6323
3 changed files with 33 additions and 37 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ export class GameServer {
});
}
async endGame() {
async end() {
// Close all WebSocket connections
clearInterval(this.endTurnIntervalID);
this.allClients.forEach((client) => {