Describe the bug
When calling npc.despawn() while an NPC is already dead, the NPC will not be removed as expected.
To Reproduce
Create a script with this:
Kill any and all NPCs you see
Watch as they respawn.
Expected behavior
This should allow NPCs to drop their loot, but never respawn.
Desktop (please complete the following information):
- OS: CachyOS
- Version 2.10.1
Describe the bug
When calling npc.despawn() while an NPC is already dead, the NPC will not be removed as expected.
To Reproduce
Create a script with this:
npcDeath { despawn(10) }Kill any and all NPCs you see
Watch as they respawn.
Expected behavior
This should allow NPCs to drop their loot, but never respawn.
Desktop (please complete the following information):