change(server): rename settings file to server_settings.ron

This commit is contained in:
Songtronix 2020-04-15 13:31:16 +02:00
parent 866cfa3a8f
commit 996eee0b42
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@
*.rar
*.log
settings.ron
server_settings.ron
run.sh
maps
screenshots

View File

@ -121,9 +121,9 @@ impl ServerSettings {
start_time: 9.0 * 3600.0,
admins: vec!["singleplayer".to_string()], /* TODO: Let the player choose if they want
* to use admin commands or not */
..load // Fill in remaining fields from settings.ron.
..load // Fill in remaining fields from server_settings.ron.
}
}
fn get_settings_path() -> PathBuf { PathBuf::from(r"settings.ron") }
fn get_settings_path() -> PathBuf { PathBuf::from(r"server_settings.ron") }
}