mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change(server): rename settings file to server_settings.ron
This commit is contained in:
parent
866cfa3a8f
commit
996eee0b42
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,6 +27,7 @@
|
|||||||
*.rar
|
*.rar
|
||||||
*.log
|
*.log
|
||||||
settings.ron
|
settings.ron
|
||||||
|
server_settings.ron
|
||||||
run.sh
|
run.sh
|
||||||
maps
|
maps
|
||||||
screenshots
|
screenshots
|
||||||
|
@ -121,9 +121,9 @@ impl ServerSettings {
|
|||||||
start_time: 9.0 * 3600.0,
|
start_time: 9.0 * 3600.0,
|
||||||
admins: vec!["singleplayer".to_string()], /* TODO: Let the player choose if they want
|
admins: vec!["singleplayer".to_string()], /* TODO: Let the player choose if they want
|
||||||
* to use admin commands or not */
|
* 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") }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user