Skip to content

Conversation

@Astralcircle
Copy link
Contributor

@Astralcircle Astralcircle commented Feb 2, 2025

Adds a function to get an array of all entities on the map. Of course we have findByClass("*"), but it works many times slower and is not an obvious way to get all entities.

Also can use ents.Iterator() to create a copy of the table for ~3x speedup, but this can be unstable.

@thegrb93 thegrb93 merged commit dbed3cf into wiremod:master Feb 14, 2025
1 check passed
@Astralcircle Astralcircle deleted the entities branch February 16, 2025 12:27
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.

2 participants