Skip to content

entityManager.entities will always be empty, unless within game.on('frame', ...) #60

@Cazka

Description

@Cazka
// entities will be empty here
const entities = diepAPI.extensions.entityManager.entities;
diepAPI.apis.game.on('frame', () =>{
    // entities will not be empty here
    const entities = diepAPI.extensions.entityManager.entities;
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions