mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 16:35:13 +00:00
Made UserSettings nullable
This commit is contained in:
@@ -28,7 +28,7 @@ export enum GameEnv {
|
||||
}
|
||||
export function getConfig(
|
||||
gameConfig: GameConfig,
|
||||
userSettings: UserSettings,
|
||||
userSettings: UserSettings | null = null,
|
||||
): Config {
|
||||
const sc = getServerConfig();
|
||||
switch (process.env.GAME_ENV) {
|
||||
|
||||
Reference in New Issue
Block a user