Skip to content

Commit e5eec13

Browse files
committed
Merge branch 'master' of https://github.com/MidLevel/MLAPI
2 parents 7e5a0ca + b52ca1c commit e5eec13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MLAPI/Core/NetworkingManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,9 @@ internal void HandleApproval(ulong clientId, ulong? prefabHash, bool approved, V
11701170
writer.WriteUInt64Packed(ConnectedClients[clientId].PlayerObject.GetComponent<NetworkedObject>().NetworkId);
11711171
writer.WriteUInt64Packed(clientId);
11721172

1173+
//Does not have a parrent
1174+
writer.WriteBool(false);
1175+
11731176
if (NetworkConfig.UsePrefabSync)
11741177
{
11751178
writer.WriteUInt64Packed(prefabHash == null ? NetworkConfig.PlayerPrefabHash : prefabHash.Value);

0 commit comments

Comments
 (0)