Skip to content

Commit c62c6ed

Browse files
authored
Update README.md
1 parent 09c862a commit c62c6ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class Health : MonoBehaviour, IPoolable
8989
private float _health = 0f;
9090

9191
private void Awake() =>
92-
_health = _maxHealth;
92+
OnGet();
9393

9494
// IPoolable method
9595
// Not being called if object was created first time

0 commit comments

Comments
 (0)