diff --git a/Assets/GadGame/Scripts/MiniGame/MiniGameController.cs b/Assets/GadGame/Scripts/MiniGame/MiniGameController.cs index 5ef2caf..83f9c51 100644 --- a/Assets/GadGame/Scripts/MiniGame/MiniGameController.cs +++ b/Assets/GadGame/Scripts/MiniGame/MiniGameController.cs @@ -149,7 +149,7 @@ namespace GadGame.MiniGame public void CountDownEndGame(float time){ var countDownTime = 10 - time; - Debug.Log("EndGame CountDown " + countDownTime.ToString()); + // Debug.Log("EndGame CountDown " + countDownTime.ToString()); var fill = countDownTime / 10; CircleImgEndGame.fillAmount = fill; txtProgressEndGame.text = Mathf.Ceil(countDownTime).ToString(); diff --git a/Assets/GadGame/Scripts/State/MainFlowState/EngageState.cs b/Assets/GadGame/Scripts/State/MainFlowState/EngageState.cs index 150bba3..bf82491 100644 --- a/Assets/GadGame/Scripts/State/MainFlowState/EngageState.cs +++ b/Assets/GadGame/Scripts/State/MainFlowState/EngageState.cs @@ -26,7 +26,7 @@ namespace GadGame.State.MainFlowState { switch (_warned) { - case false when !UdpSocket.Instance.DataReceived.PassBy: + case true when !UdpSocket.Instance.DataReceived.PassBy: Runner.SetState(); break; case false when !UdpSocket.Instance.DataReceived.Engage: