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() {
|
override fun init() {
|
||||||
|
initialized = true
|
||||||
spawnLocation ?: terminate()
|
spawnLocation ?: terminate()
|
||||||
location = spawnLocation
|
location = spawnLocation
|
||||||
initialized = true
|
|
||||||
super.init()
|
super.init()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user