Fixed RPC call for player prefab

This commit is contained in:
Pascal Serrarens 2024-04-15 13:51:57 +02:00
parent ae6d704c1b
commit c57476770c

View File

@ -94,7 +94,7 @@ namespace Passer.Humanoid {
#region Init #region Init
public void Awake() { public void Start() {
if (identity == null) if (identity == null)
identity = GetComponent<Unity.Netcode.NetworkObject>(); identity = GetComponent<Unity.Netcode.NetworkObject>();