fix timer of vote
This commit is contained in:
parent
869635c5cc
commit
7a6e711bb5
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user