projectile fix

This commit is contained in:
2024-07-22 21:59:57 +05:30
parent 4fa693336d
commit 896eb0c137

View File

@@ -79,7 +79,7 @@ public class RangeProjectile : NetworkBehaviour
//Instantiate hit effect
Instantiate(hitEffectVfx , transform.position , Quaternion.identity);
Destroy(gameObject);
Destroy(hitEffectVfx, hitLifetime);
//Destroy(hitEffectVfx, hitLifetime);
}
void OnDrawGizmos(){