From 74ffa47147d2bb989057b4513075975c44c2bc42 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 1 Mar 2026 21:55:16 +0100 Subject: add serverdata packet with data fields that dont change across games; add motd and server name --- server/book-export/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/book-export/src/main.rs') diff --git a/server/book-export/src/main.rs b/server/book-export/src/main.rs index ff9445c2..4bd8935d 100644 --- a/server/book-export/src/main.rs +++ b/server/book-export/src/main.rs @@ -21,7 +21,7 @@ pub mod diagram_svg; use crate::book_html::render_html_book; use anyhow::Result; use clap::{Parser, ValueEnum}; -use hurrycurry_data::{book::book, build_data}; +use hurrycurry_data::{book::book, build_gamedata}; use hurrycurry_locale::Locale; use std::{fs::File, io::Write, path::PathBuf}; @@ -49,7 +49,7 @@ fn main() -> Result<()> { env_logger::init_from_env("LOG"); let args = Args::parse(); - let (data, serverdata) = build_data("data".as_ref(), &args.map, true)?; + let (data, serverdata) = build_gamedata("data".as_ref(), &args.map, true)?; let book = book(&data, &serverdata)?; -- cgit v1.3