mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Allow two or more people to load into the same multiplayer match #30
This commit is contained in:
@@ -24,6 +24,7 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
let config = oj_rc_core::persist::config::ConfigImpl::load(&args.assets).expect("Bad config data");
|
||||
let users = std::sync::Arc::new(oj_rc_core::persist::user::UserImpl::load(&args.data, &config).await.expect("Bad user data"));
|
||||
users.multiplayer_init().await.expect("Multiplayer init task failed");
|
||||
let parsers = oj_rc_core::cubes::CubeParsers::new(&config);
|
||||
let matches = matches::GameMatches::new();
|
||||
let matches_chann = matches.spawn();
|
||||
|
||||
Reference in New Issue
Block a user