Skip to content

Commit dc88188

Browse files
author
Nik
authored
Fix points => poison typo (#301)
1 parent f40b96c commit dc88188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function damage({ health }: With<Entity, "health">, amount: number) {
7979
health.current -= amount
8080
}
8181

82-
function points(entity: With<Entity, "poisoned">) {
82+
function poison(entity: With<Entity, "poisoned">) {
8383
world.addComponent(entity, "poisoned", true)
8484
}
8585

0 commit comments

Comments
 (0)