From 9a468564e89356ad2f8c05e18257692a986584d1 Mon Sep 17 00:00:00 2001 From: Aaro Varis Date: Sun, 23 Mar 2025 23:54:44 +0200 Subject: [PATCH] mogging --- BoneSync/Networking/LobbyManager/SteamLobbyManager.cs | 3 +++ BoneSync/Sync/Components/SyncableBase.cs | 1 + 2 files changed, 4 insertions(+) diff --git a/BoneSync/Networking/LobbyManager/SteamLobbyManager.cs b/BoneSync/Networking/LobbyManager/SteamLobbyManager.cs index 2eee225..280cac2 100644 --- a/BoneSync/Networking/LobbyManager/SteamLobbyManager.cs +++ b/BoneSync/Networking/LobbyManager/SteamLobbyManager.cs @@ -107,6 +107,9 @@ namespace BoneSync.Networking.LobbyManager SteamFriends.SetRichPresence("connect", null); SteamFriends.SetRichPresence("status", "Not in a multiplayer lobby"); } + + _lobbyInstance.SetMemberData("sceneName", SceneSync.CurrentSceneDisplayName); + _lobbyInstance.SetMemberData("playerModel", ""); } public override void CreateLobby() diff --git a/BoneSync/Sync/Components/SyncableBase.cs b/BoneSync/Sync/Components/SyncableBase.cs index fdfe67a..866f337 100644 --- a/BoneSync/Sync/Components/SyncableBase.cs +++ b/BoneSync/Sync/Components/SyncableBase.cs @@ -256,6 +256,7 @@ namespace BoneSync.Sync.Components if (spawnFragment) return false; // if has spawn fragment, don't sync FindAndUpdateComponents(); + if (buttonToggles.Length > 0) return true; if (rigidbodies.Length > 0) return true; return false; }