Changed default server address to 'server.veloren.net'

Former-commit-id: 660083d3d7ca341428b8c3cd8d54dd3ac1f453ab
This commit is contained in:
Joshua Barretto 2019-04-17 14:23:34 +01:00
parent cacb1855fd
commit a87cdc1993
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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,
}