Skip to content

Replace Entities.remove() with Entities.delete() in Ecs.js#7

Open
roskelld wants to merge 1 commit intosketchpunk:masterfrom
roskelld:patch-1
Open

Replace Entities.remove() with Entities.delete() in Ecs.js#7
roskelld wants to merge 1 commit intosketchpunk:masterfrom
roskelld:patch-1

Conversation

@roskelld
Copy link

Replaced .remove() for .delete() on the Entities Map Object.
Map objects have no remove method.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant