online game working

This commit is contained in:
2025-10-05 19:31:52 +02:00
parent dd89012919
commit 73595994d1
2 changed files with 23 additions and 1 deletions

View File

@@ -386,7 +386,8 @@ namespace MegaKoop.UI
EnsureComponent<SteamLobbyManager>();
EnsureComponent<SteamP2PTransport>();
EnsureComponent<SteamCoopNetworkManager>();
var coopManager = EnsureComponent<SteamCoopNetworkManager>();
coopManager.SynchronizeWithLobby(steam);
lobbyGameCoordinator = servicesRoot.GetComponent<LobbyGameSceneCoordinator>() ?? servicesRoot.AddComponent<LobbyGameSceneCoordinator>();
DontDestroyOnLoad(servicesRoot);