mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changed default server address to 'server.veloren.net'
Former-commit-id: 660083d3d7ca341428b8c3cd8d54dd3ac1f453ab
This commit is contained in:
parent
cacb1855fd
commit
a87cdc1993
@ -31,6 +31,9 @@ use crate::{
|
||||
settings::Settings
|
||||
};
|
||||
|
||||
/// The URL of the default public server that Voxygen will connect to
|
||||
const DEFAULT_PUBLIC_SERVER: &'static str = "server.veloren.net";
|
||||
|
||||
/// A type used to store state that is shared between all play states
|
||||
pub struct GlobalState {
|
||||
settings: Settings,
|
||||
|
@ -1,4 +1,5 @@
|
||||
use crate::{
|
||||
DEFAULT_PUBLIC_SERVER,
|
||||
render::Renderer,
|
||||
ui::{self, ScaleMode, Ui},
|
||||
window::Window,
|
||||
@ -137,7 +138,7 @@ impl MainMenuUi {
|
||||
font_metamorph,
|
||||
font_opensans,
|
||||
username: "Username".to_string(),
|
||||
server_address: "veloren.mac94.de".to_string(),
|
||||
server_address: DEFAULT_PUBLIC_SERVER.to_string(),
|
||||
login_error: None,
|
||||
connecting: None,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user