aboutsummaryrefslogtreecommitdiff
path: root/server/src/commands.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-30 11:22:38 +0100
committermetamuffin <metamuffin@disroot.org>2025-10-30 11:22:38 +0100
commita85f6200517405918941cc64ba4b734e246bc411 (patch)
tree267f027215e38f5db55181cf3b9706962763cdfa /server/src/commands.rs
parent269da6178e51f727a2b80a784e59981a13704df4 (diff)
downloadhurrycurry-a85f6200517405918941cc64ba4b734e246bc411.tar
hurrycurry-a85f6200517405918941cc64ba4b734e246bc411.tar.bz2
hurrycurry-a85f6200517405918941cc64ba4b734e246bc411.tar.zst
Configurable lobby map and inactivity kick timout (close #492)
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r--server/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs
index a59d93a0..bc4696ae 100644
--- a/server/src/commands.rs
+++ b/server/src/commands.rs
@@ -194,7 +194,7 @@ impl Server {
.ok();
self.load(
self.index
- .generate_with_book("lobby")
+ .generate_with_book(&self.config.lobby)
.map_err(|e| TrError::Plain(e.to_string()))?,
None,
);