diff --git a/src/bin/login.rs b/src/bin/login.rs index 42c3324..fe40d94 100644 --- a/src/bin/login.rs +++ b/src/bin/login.rs @@ -4,7 +4,7 @@ use elseware::login::login::LoginServerState; use elseware::login::character::CharacterServerState; use elseware::common::mainloop::{login_mainloop, character_mainloop}; -async fn main() { +fn main() { let db_host = std::env::var("DB_HOST").unwrap(); let db_username = std::env::var("DB_USERNAME").unwrap(); let db_password = std::env::var("DB_PASSWORD").unwrap(); diff --git a/src/bin/ship.rs b/src/bin/ship.rs index fd1d367..78cfa5a 100644 --- a/src/bin/ship.rs +++ b/src/bin/ship.rs @@ -4,7 +4,7 @@ use elseware::ship::ship::ShipServerState; use elseware::ship::ship::ShipServerStateBuilder; use elseware::common::mainloop::ship_mainloop; -async fn main() { +fn main() { let db_host = std::env::var("DB_HOST").unwrap(); let db_username = std::env::var("DB_USERNAME").unwrap(); let db_password = std::env::var("DB_PASSWORD").unwrap();