Fast fuckers will run away on taking damage

This commit is contained in:
2024-10-28 16:17:27 -07:00
parent 49937d80b5
commit 2c93456a19
2 changed files with 5 additions and 2 deletions

View File

@@ -46,7 +46,6 @@ public class Ratbot : MonoBehaviour
// Die if health below zero
public void Damage(float hurtyAmount) {
Debug.Log(hurtyAmount);
health -= hurtyAmount;
if (health <= 0) {
Destroy(gameObject);