Fixed an issue with random event NPCs not terminating properly sometimes

This commit is contained in:
ceikry
2021-07-29 11:38:19 -05:00
parent dccd3bee26
commit d3b3c0ec60
@@ -73,9 +73,9 @@ abstract class RandomEventNPC(id: Int) : NPC(id) {
} }
override fun init() { override fun init() {
initialized = true
spawnLocation ?: terminate() spawnLocation ?: terminate()
location = spawnLocation location = spawnLocation
initialized = true
super.init() super.init()
} }