修改多杀的bug

This commit is contained in:
wulongxiao 2024-12-30 12:00:44 +08:00
parent c099369989
commit 8b391dc946

View File

@ -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();
}
}