Update TimeSyncUI.cs

This commit is contained in:
Mister_Nebula 2020-11-26 19:48:34 +00:00
parent ac77bcec35
commit 5103461599

View File

@ -12,7 +12,6 @@ namespace QSB.TimeSync
private Canvas _canvas;
private Text _text;
private float _startTime;
private float _startTimeUnscaled;
private bool _isSetUp;
private TimeSyncType _currentType;
@ -49,7 +48,6 @@ namespace QSB.TimeSync
{
_currentType = type;
_startTime = Time.timeSinceLevelLoad;
_startTimeUnscaled = Time.unscaledTime;
enabled = true;
_canvas.enabled = true;
Canvas.willRenderCanvases += OnWillRenderCanvases;