Skip to content

Commit c62c6ed

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)