From 10873baf745ef2a42a8ca040e127eb68911a7fff Mon Sep 17 00:00:00 2001 From: Evan Date: Sat, 1 Mar 2025 21:02:18 -0800 Subject: [PATCH] bugfix: use gameCreationRate to schedule games --- src/server/Master.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/Master.ts b/src/server/Master.ts index 29e40d685..9215be323 100644 --- a/src/server/Master.ts +++ b/src/server/Master.ts @@ -77,7 +77,8 @@ export async function startMaster() { }) .finally(() => { // Schedule next run with the current config value - const currentLifetime = config.lobbyLifetime(isHighTrafficTime()); + const currentLifetime = + config.gameCreationRate(isHighTrafficTime()); timeoutId = setTimeout(scheduleLobbies, currentLifetime); }); };