Core: fix place_locked_item not setting location back-reference (#344)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user