mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
Revert "WakeUpSync.GetSecondsElapsed"
This reverts commit b8afa3b292ca85c752b1bb5067b38228df83e1c3.
This commit is contained in:
parent
b789748e78
commit
f0e3c4f596
@ -71,11 +71,6 @@ public class WakeUpSync : NetworkBehaviour
|
|||||||
GlobalMessenger.AddListener(OWEvents.WakeUp, OnWakeUp);
|
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()
|
public float GetTimeDifference()
|
||||||
{
|
{
|
||||||
var myTime = Time.timeSinceLevelLoad;
|
var myTime = Time.timeSinceLevelLoad;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user