Core: fix place_locked_item not setting location back-reference (#344)

This commit is contained in:
Fabian Dill
2022-03-25 22:57:00 +01:00
committed by GitHub
parent cb024b00d9
commit 902472be32

View File

@@ -1053,6 +1053,7 @@ class Location:
if self.item:
raise Exception(f"Location {self} already filled.")
self.item = item
item.location = self
self.event = item.advancement
self.item.world = self.parent_region.world
self.locked = True