Allow two or more people to load into the same multiplayer match #30

This commit is contained in:
NG (Graham) committed 2025-07-20 18:31:08 -04:00
1 parent cd45c22d0b
commit 37cbc8d85f
24 files changed
+902 -149

No files matched your search

+1
View File
@@ -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();