mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 19:23:47 +00:00
game kind of working with GameView
This commit is contained in:
@@ -74,7 +74,7 @@ export async function createClientGame(lobbyConfig: LobbyConfig, gameConfig: Gam
|
||||
const config = getConfig(gameConfig)
|
||||
|
||||
const terrainMap = await loadTerrainMap(gameConfig.gameMap);
|
||||
const gameView = new GameView(terrainMap.map)
|
||||
const gameView = new GameView(config, terrainMap.map)
|
||||
|
||||
const worker = new WorkerClient(lobbyConfig.gameID, gameConfig)
|
||||
await worker.initialize()
|
||||
|
||||
Reference in New Issue
Block a user