Skip to content

OnPlayerLeaveDynamicArea fires before OnPlayerEnterDynamicArea for the same areaid in the same tick, causing status flicker in dynamic areas #495

@VipUzer

Description

@VipUzer

Hi. I noticed that when both OnPlayerEnterDynamicArea and OnPlayerLeaveDynamicArea are triggered in the same tick for a zone, the leave callback is called first. This is actually ok, as it allows handling the exit from the previous zone before entering the new one. However, there's no safeguard if the areaid is the same, which already leads to a bug.

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