Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -943,10 +943,9 @@ public void Teleport(Vector3 newPosition, Quaternion newRotation, Vector3 newSca
}

/// <summary>
/// Override this and return false to follow the owner authoritative
/// Otherwise, it defaults to server authoritative
/// Override this method and return false to switch to owner authoritative mode
/// </summary>
protected virtual bool OnIsServerAuthoritatitive()
protected virtual bool OnIsServerAuthoritative()
{
return true;
}
Expand All @@ -956,7 +955,7 @@ protected virtual bool OnIsServerAuthoritatitive()
/// </summary>
internal bool IsServerAuthoritative()
{
return OnIsServerAuthoritatitive();
return OnIsServerAuthoritative();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ protected override void Update()
}
}

protected override bool OnIsServerAuthoritatitive()
protected override bool OnIsServerAuthoritative()
{
return false;
}
Expand Down