Fast fuckers will run away on taking damage
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user