mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 01:03:27 +00:00
add endpoint to kick players from a game given admin token, game id & client id
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user