Minidroplets fixed

This commit is contained in:
go38coz
2026-06-06 18:28:47 +02:00
parent a6af6cfe63
commit 70a9923db2
3 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ public class DamageHandler : MonoBehaviour
private void OnTriggerEnter2D(Collider2D other)
{
if (other.CompareTag("Minidrop")){
if (other.CompareTag("Minidrop"))
{
UpdateHealth(health + 0.2f);
Destroy(other.gameObject);
return;