From 6db96325ddf173bcd95f69b624cd85a15471e4f3 Mon Sep 17 00:00:00 2001 From: Burrowdev Date: Sun, 18 Oct 2026 05:53:23 +0300 Subject: [PATCH] fix: two worlds by default again PR #5 made one world the default (AJ_WORLDS unset), which undid 31cbd87 on prod. Back to two; the tests still ask for one. --- config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index 59dd91a..9196869 100644 --- a/config.js +++ b/config.js @@ -274,11 +274,9 @@ module.exports = { // can switch in the settings menu (gui.ServerSelector). the game names // world N after the Nth name of its own list (551 Aldan, 552 Congo..., // generic list 16), so the names here are only for the panels and logs. - // AJ_WORLDS: how many. A local server starts with one shared world so two - // players in the same land can always see one another; set AJ_WORLDS=2 or - // more to opt into separate copies of every land. + // AJ_WORLDS: how many (the tests' is one). shards: ["Aldan", "Congo", "Draa", "Grande", "Kama", "Nile", "Pecos", "Ramu", "Tigris", "Zambezi"] - .slice(0, Math.min(10, Math.max(1, Number(env.AJ_WORLDS) || 1))).map((name, i) => ({id: i + 1, name})), + .slice(0, Math.min(10, Math.max(1, Number(env.AJ_WORLDS) || 2))).map((name, i) => ({id: i + 1, name})), maxUsersPerRoom: 40, // everything in every shop for nothing (AJ_FREE_SHOPS=1). off unless // asked for: what the game's shops make of a price of 0 has not been seen.