großer fehler

This commit is contained in:
2026-08-20 11:15:06 +02:00
parent 2e3688fa38
commit abe59525e2
8 changed files with 104 additions and 117 deletions
+1 -1
View File
@@ -27,9 +27,9 @@ public class ARBullet : MonoBehaviour
if (enemy != null)
{
enemy.TakeDamage(damage);
Destroy(gameObject);
}
Destroy(gameObject);
}
else if(collision.gameObject.tag == "Wall")
{