فهرست منبع

修复打不塔问题

LAPTOP-OM1V99U2\永远de小亡灵 8 ماه پیش
والد
کامیت
93611bea26
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ActionTowerDefense/Assets/Scripts/AttackTrigger.cs

+ 1 - 1
ActionTowerDefense/Assets/Scripts/AttackTrigger.cs

@@ -73,7 +73,7 @@ public class AttackTrigger : MonoBehaviour
                     if (onlyFlyCanWeak && !trigedObjs[i].owner.canFly)
                     {
                         MoveCharacter moveCharacter = trigedObjs[i].owner.GetComponent<MoveCharacter>();
-                        if (!moveCharacter)
+                        if (moveCharacter)
                         {
                             moveCharacter.newTotalWeakTime = 0;
                         }