add endpoint to kick players from a game given admin token, game id & client id

This commit is contained in:
evan
2025-05-09 13:00:39 -07:00
parent e2c97d8d51
commit c5152f035f
5 changed files with 89 additions and 1 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export function joinLobby(
if (message.type == "start") {
// Trigger prestart for singleplayer games
onPrestart();
consolex.log(`lobby: game started: ${JSON.stringify(message)}`);
consolex.log(`lobby: game started: ${JSON.stringify(message, null, 2)}`);
onJoin();
// For multiplayer games, GameStartInfo is not known until game starts.
lobbyConfig.gameStartInfo = message.gameStartInfo;