Resolved confilct

This commit is contained in:
MrGadget1024 2023-04-03 07:16:09 -04:00
parent d99283105e
commit b8009dad20

View File

@ -45,8 +45,6 @@ public class NetworkTransformReliable : NetworkTransformBase
[Header("Snapshot Interpolation")]
[Tooltip("Add a small timeline offset to account for decoupled arrival of NetworkTime and NetworkTransform snapshots.\nfixes: https://github.com/MirrorNetworking/Mirror/issues/3427")]
public bool timelineOffset = false;
double timeStampAdjustment => NetworkServer.sendInterval * (sendIntervalMultiplier - 1);
double offset => timelineOffset ? NetworkServer.sendInterval * sendIntervalMultiplier : 0;
// Ninja's Notes on offset & mulitplier:
//