This commit is contained in:
mischa 2024-10-15 15:03:30 +02:00
parent 769fc9d981
commit f4f444413d

View File

@ -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);