Warnings fixed

This commit is contained in:
CoudronJerome
2023-03-30 20:00:28 +02:00
parent c9ebec1724
commit c9c22e6426
5 changed files with 6 additions and 23 deletions

View File

@@ -491,7 +491,7 @@ public partial class GameController : AbstractFeedback
// Correct sign
if (predictedSign == currentSign)
{
//yield return new WaitForSeconds(1.0f);
yield return new WaitForSeconds(1.0f);
predictSign(predictedSign);
timer = DateTime.Now;
predictedSign = null;
@@ -505,7 +505,7 @@ public partial class GameController : AbstractFeedback
timer = DateTime.Now;
previousIncorrectSign = predictedSign;
}
else if (DateTime.Now - timer > TimeSpan.FromSeconds(4.0f))
else if (DateTime.Now - timer > TimeSpan.FromSeconds(2.0f))
{
predictSign(predictedSign);
timer = DateTime.Now;