Fix typo in README.md

A piece of example code was missing a `,`.
This commit is contained in:
Denis Defreyne 2024-06-29 10:28:12 +02:00 committed by GitHub
parent 1aaf501401
commit 6575686b3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,7 +170,7 @@ When defining a ComponentClass you need to pass in a name and usually a `populat
-- Create the position class with a populate function
-- The component variable is the actual Component given to an Entity
-- The x and y variables are values we pass in when we create the Component
Concord.component("position" function(component, x, y)
Concord.component("position", function(component, x, y)
component.x = x or 0
component.y = y or 0
end)