Fixed an issue with random event NPCs not terminating properly sometimes
This commit is contained in:
@@ -73,9 +73,9 @@ abstract class RandomEventNPC(id: Int) : NPC(id) {
|
||||
}
|
||||
|
||||
override fun init() {
|
||||
initialized = true
|
||||
spawnLocation ?: terminate()
|
||||
location = spawnLocation
|
||||
initialized = true
|
||||
super.init()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user