mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-27 03:35:20 +00:00
fix
This commit is contained in:
parent
7a4149bee6
commit
c2eeddc484
@ -99,8 +99,8 @@ namespace QSB
|
|||||||
{
|
{
|
||||||
var ident = go.AddComponent<QSBNetworkIdentity>();
|
var ident = go.AddComponent<QSBNetworkIdentity>();
|
||||||
ident.LocalPlayerAuthority = true;
|
ident.LocalPlayerAuthority = true;
|
||||||
ident.SetValue("m_AssetId", playerPrefab.GetComponent<NetworkIdentity>().assetId);
|
ident.SetValue("m_AssetId", go.GetComponent<NetworkIdentity>().assetId);
|
||||||
ident.SetValue("m_SceneId", playerPrefab.GetComponent<NetworkIdentity>().sceneId);
|
ident.SetValue("m_SceneId", go.GetComponent<NetworkIdentity>().sceneId);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetupNetworkTransform(GameObject go)
|
private void SetupNetworkTransform(GameObject go)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user