You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modifications from 1:1 PR review session with Emma.
Removed some redundant logic.
Re-organized a few areas for better readability.
Renamed the `AttachableBehaviour.AttachableNode` to `AttachableBehaviour.InternalAttachableNode`.
Removed the authority check within `AttachableNode.OnNetworkPreDespawn`.
m_ErrorLog.AppendLine($"[Client-{networkManager.LocalClientId}][{attachable.name}] Did not have its event invoked!");
388
388
}
389
389
390
-
if(attachable.AttachableNode!=null)
390
+
if(attachable.InternalAttachableNode!=null)
391
391
{
392
-
varnodeHasAttachments=attachable.AttachableNode.HasAttachments?$" {attachable.AttachableNode.name} still has attachments!":"";
393
-
m_ErrorLog.AppendLine($"[Client-{networkManager.LocalClientId}][{attachable.name}] Still refers to {attachable.AttachableNode.name}!{nodeHasAttachments}");
392
+
varnodeHasAttachments=attachable.InternalAttachableNode.HasAttachments?$" {attachable.InternalAttachableNode.name} still has attachments!":"";
393
+
m_ErrorLog.AppendLine($"[Client-{networkManager.LocalClientId}][{attachable.name}] Still refers to {attachable.InternalAttachableNode.name}!{nodeHasAttachments}");
0 commit comments