修改多杀的bug
This commit is contained in:
parent
c099369989
commit
8b391dc946
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user