Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripted_sequence can be broken by +using friendly NPCs to make them follow player #200

Closed
SamVanheer opened this issue May 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SamVanheer
Copy link
Collaborator

If the player +uses a friendly NPC to make them follow the player right after a scripted_sequence has started then the NPC will instead try to treat the player as its target entity.

This results in the NPC either trying to move towards the player or, if the player has +used the NPC again to stop them following the player, causes the NPC to access a null pointer, crashing the game.

Originally reported by Oxofemple.

@SamVanheer SamVanheer added the bug Something isn't working label May 28, 2023
@SamVanheer SamVanheer self-assigned this May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant