WGL 2 сар өмнө
parent
commit
3c938fd6ba

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

@@ -140,7 +140,7 @@ public class Bullet : MonoBehaviour
             return;
         }
         Platform platform = other.GetComponent<Platform>();
-        if ((platform != null && !platform.canPenetrateBullets || other.CompareTag("Ground")))
+        if (platform != null && !platform.canPenetrateBullets)
         {
             if (bulletType == BulletType.Single || bulletType == BulletType.Throw)
             {