diff --git a/gameserver/src/game/global_config.rs b/gameserver/src/game/global_config.rs index e13221c..3ed8068 100644 --- a/gameserver/src/game/global_config.rs +++ b/gameserver/src/game/global_config.rs @@ -22,7 +22,7 @@ lazy_static! { std::fs::write(&env, DEFAULT_GLOBALS).unwrap(); } - DEFAULT_GLOBALS.to_string() + std::fs::read_to_string(&env).unwrap() }; from_str(&data).unwrap()