This commit is contained in:
mischa 2024-10-15 15:03:30 +02:00
parent 6b51a15cf4
commit 21fac25fbe

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
//clients instead of waiting for server to send its snapshots.
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
{
RpcServerToClientSync(position, rotation, scale);