1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Remove some gamemode startup warnings, make expanded config json more obvious

This commit is contained in:
NG (Graham)
2025-10-03 18:06:36 -04:00
parent 827c14da0d
commit 6879fc8ed5
3 changed files with 2 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ impl CubeConfig {
let result = serde_json::from_reader(buffered)?;
#[cfg(debug_assertions)]
{
let filename = root.as_ref().join(format!("{}.dump.json", CUBE_CONFIG_FILENAME.trim_end_matches(".json")));
let filename = root.as_ref().join(format!("{}.expanded.json", CUBE_CONFIG_FILENAME.trim_end_matches(".json")));
let file = std::fs::File::create(filename)?;
let buffered = std::io::BufWriter::new(file);
serde_json::to_writer_pretty(buffered, &result)?;