fix timer of vote

This commit is contained in:
Fangh 2024-01-28 17:53:37 +01:00
parent 869635c5cc
commit 7a6e711bb5

View File

@ -40,10 +40,7 @@ private void Update()
if (DateTime.Now < endOfTimer) if (DateTime.Now < endOfTimer)
{ {
Debug.Log(DateTime.Now); timerLabel.text = (endOfTimer - DateTime.Now).TotalSeconds.ToString("D2");
Debug.Log(endOfTimer);
Debug.Log((DateTime.Now - endOfTimer).TotalSeconds);
timerLabel.text = (DateTime.Now - endOfTimer).TotalSeconds.ToString("D2");
} }
else else
{ {