Made UserSettings nullable

This commit is contained in:
NewHappyRabbit
2025-02-13 23:12:41 +02:00
parent 08e1a7acf7
commit 447c2655fe
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -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) {