diff --git a/meng_yao/Assets/script/A_Fight/UIContorl.cs b/meng_yao/Assets/script/A_Fight/UIContorl.cs index 6736c9ba..31de87ce 100644 --- a/meng_yao/Assets/script/A_Fight/UIContorl.cs +++ b/meng_yao/Assets/script/A_Fight/UIContorl.cs @@ -37,8 +37,9 @@ public class UIContorl : Base { killnumber = value; this.KIllNumberText.text = killnumber + "/" + maxEnemynumber; - if (killnumber==maxEnemynumber) + if (killnumber>=maxEnemynumber) { + killnumber = maxEnemynumber; gameGlobal.GameVictory(); } }