Core: fix place_locked_item not setting location back-reference (#344)
This commit is contained in:
parent
cb024b00d9
commit
902472be32
|
@ -1053,6 +1053,7 @@ class Location:
|
||||||
if self.item:
|
if self.item:
|
||||||
raise Exception(f"Location {self} already filled.")
|
raise Exception(f"Location {self} already filled.")
|
||||||
self.item = item
|
self.item = item
|
||||||
|
item.location = self
|
||||||
self.event = item.advancement
|
self.event = item.advancement
|
||||||
self.item.world = self.parent_region.world
|
self.item.world = self.parent_region.world
|
||||||
self.locked = True
|
self.locked = True
|
||||||
|
|
Loading…
Reference in New Issue