fix timer of vote
This commit is contained in:
parent
869635c5cc
commit
7a6e711bb5
@ -40,10 +40,7 @@ private void Update()
|
||||
|
||||
if (DateTime.Now < endOfTimer)
|
||||
{
|
||||
Debug.Log(DateTime.Now);
|
||||
Debug.Log(endOfTimer);
|
||||
Debug.Log((DateTime.Now - endOfTimer).TotalSeconds);
|
||||
timerLabel.text = (DateTime.Now - endOfTimer).TotalSeconds.ToString("D2");
|
||||
timerLabel.text = (endOfTimer - DateTime.Now).TotalSeconds.ToString("D2");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user