Skip to content

Conversation

@Sakeran
Copy link
Contributor

@Sakeran Sakeran commented Aug 18, 2019

Most of the room-specific logic in MobManager#removeMob should act on the mob's source room (as set by Room#spawnNpc), instead of its current room. Otherwise, the mob is never removed from its source room's spawnedNpcs set, (and possibly the relevant Area's npc set) if it is removed while in any room other than its source.

@shawncplus shawncplus added this to the 3.1 milestone Aug 22, 2019
@seanohue
Copy link

Tested this and verified that it is needed. Without this PR, respawn logic gets buggy.

@azigler
Copy link

azigler commented Jun 7, 2020

This works great, thanks!

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.

4 participants