comment formatting

This commit is contained in:
vis2k 2023-04-08 18:33:23 +08:00
parent 20b7e5326e
commit 2cf3582922

View File

@ -317,7 +317,8 @@ protected void SendCommandInternal(string functionFullName, int functionHashCode
return;
}
// local players can always send commands, regardless of authority, other objects must have authority.
// local players can always send commands, regardless of authority,
// other objects must have authority.
if (!(!requiresAuthority || isLocalPlayer || isOwned))
{
Debug.LogWarning($"Command Function {functionFullName} called on {name} without authority.", gameObject);