Recalculate the path finder when the player exchanges its body

This commit is contained in:
Yohann D'ANELLO 2020-12-05 14:48:43 +01:00
parent 7ad2cad77c
commit f8ca5b2cc5

View File

@ -173,4 +173,6 @@ class BodySnatchPotion(Item):
player=self.held_by.translated_name.capitalize(),
entity=entity.translated_name))
self.held_by.recalculate_paths()
self.held_by.inventory.remove(self)