Revert "WakeUpSync.GetSecondsElapsed"

This reverts commit b8afa3b292.
This commit is contained in:
JohnCorby 2022-08-14 16:01:28 -07:00
parent b789748e78
commit f0e3c4f596

View File

@ -71,11 +71,6 @@ public class WakeUpSync : NetworkBehaviour
GlobalMessenger.AddListener(OWEvents.WakeUp, OnWakeUp);
}
/// <summary>
/// same as TimeLoop.GetSecondsElapsed, but tracks time even when time is not flowing yet
/// </summary>
public static float GetSecondsElapsed() => Time.timeSinceLevelLoad + TimeLoop._timeOffset;
public float GetTimeDifference()
{
var myTime = Time.timeSinceLevelLoad;