Browse Source

I am dubm

pbs
jake 4 years ago
parent
commit
29422eac51
  1. 2
      src/bin/login.rs
  2. 2
      src/bin/ship.rs

2
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();

2
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();

Loading…
Cancel
Save