diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/map/items/pan.gd | 2 | ||||
-rw-r--r-- | client/map/items/pot.gd | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/map/items/pan.gd b/client/map/items/pan.gd index af245316..1aa80da0 100644 --- a/client/map/items/pan.gd +++ b/client/map/items/pan.gd @@ -24,7 +24,7 @@ func _init(owned_by_: Node3D, contents: Array): add_child(load("res://map/items/pan.tscn").instantiate()) base.add_child(steam) for c in contents: - base.add_child(ItemFactory.produce(c, owned_by_)) + base.add_child(ItemFactory.produce(c, self)) func progress(position_: float, speed: float, warn: bool): super(position_, speed, warn) diff --git a/client/map/items/pot.gd b/client/map/items/pot.gd index 6295fa99..9b3e0ad3 100644 --- a/client/map/items/pot.gd +++ b/client/map/items/pot.gd @@ -23,7 +23,7 @@ func _init(owned_by_: Node3D, contents: Array): add_child(load("res://map/items/pot.tscn").instantiate()) base.add_child(steam) for c in contents: - base.add_child(ItemFactory.produce(c, owned_by_)) + base.add_child(ItemFactory.produce(c, self)) func progress(position_: float, speed: float, warn: bool): super(position_, speed, warn) |