mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
indentions
This commit is contained in:
parent
b8dba8d99d
commit
f62ac4d4e6
@ -113,8 +113,8 @@ static void OnTimeSnapshotMessage(TimeSnapshotMessage _)
|
||||
// NetworkTime.time and NetworkTime.timeStamp.
|
||||
|
||||
#if !UNITY_2020_3_OR_NEWER
|
||||
// Unity 2019 doesn't have Time.timeAsDouble yet
|
||||
OnTimeSnapshot(new TimeSnapshot(connection.remoteTimeStamp, NetworkTime.localTime));
|
||||
// Unity 2019 doesn't have Time.timeAsDouble yet
|
||||
OnTimeSnapshot(new TimeSnapshot(connection.remoteTimeStamp, NetworkTime.localTime));
|
||||
#else
|
||||
OnTimeSnapshot(new TimeSnapshot(connection.remoteTimeStamp, Time.timeAsDouble));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user