mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comment
This commit is contained in:
parent
769fc9d981
commit
f4f444413d
@ -194,7 +194,7 @@ void CmdClientToServerSync(Vector3? position, Quaternion? rotation, Vector3? sca
|
|||||||
//For client authority, immediately pass on the client snapshot to all other
|
//For client authority, immediately pass on the client snapshot to all other
|
||||||
//clients instead of waiting for server to send its snapshots.
|
//clients instead of waiting for server to send its snapshots.
|
||||||
if (syncDirection == SyncDirection.ClientToServer &&
|
if (syncDirection == SyncDirection.ClientToServer &&
|
||||||
connectionToClient != null && // CUSTOM CHANGE: DropPods are clientAuthority but don't count bots by excluding connectionToClient==null
|
connectionToClient != null && // CUSTOM CHANGE: for the drop thing..
|
||||||
!disableSendingThisToClients) // CUSTOM CHANGE: see comment at definition
|
!disableSendingThisToClients) // CUSTOM CHANGE: see comment at definition
|
||||||
{
|
{
|
||||||
RpcServerToClientSync(position, rotation, scale);
|
RpcServerToClientSync(position, rotation, scale);
|
||||||
|
Loading…
Reference in New Issue
Block a user