mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 09:14:09 +00:00
enable pause on replay
This commit is contained in:
+6
-1
@@ -32,7 +32,12 @@ export async function setup(mapName: string, _gameConfig: GameConfig = {}) {
|
||||
instantBuild: false,
|
||||
..._gameConfig,
|
||||
};
|
||||
const config = new TestConfig(serverConfig, gameConfig, new UserSettings());
|
||||
const config = new TestConfig(
|
||||
serverConfig,
|
||||
gameConfig,
|
||||
new UserSettings(),
|
||||
false,
|
||||
);
|
||||
|
||||
// Create and return the game
|
||||
return createGame([], [], gameMap, miniGameMap, config);
|
||||
|
||||
Reference in New Issue
Block a user