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

2
.gitignore vendored
View File

@@ -4,4 +4,4 @@
# files generated by running servers
steam_appid.txt
/data
/assets/robocraft/config.dump.json
/assets/robocraft/config.expanded.json

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)?;

View File

@@ -122,7 +122,6 @@ impl GameMatches {
Ok(engine.spawn())
},
oj_rc_core::data::game_mode::GameMode::Pit => {
log::warn!("Game {}: Pit is experimental", guid);
let inner = super::modes::PitLogic::new(
&self.mode_configs.the_pit,
&map_config,
@@ -140,7 +139,6 @@ impl GameMatches {
Ok(engine.spawn())
},
oj_rc_core::data::game_mode::GameMode::TeamDeathmatch => {
log::warn!("Game {}: Team Death Match is experimental", guid);
let inner = super::modes::TeamDeathMatchLogic::new(
&self.mode_configs.team_deathmatch,
&map_config,