aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-16 13:58:58 +0200
committertpart <tpart120@proton.me>2024-09-16 13:58:58 +0200
commitdfda0d0aeb8a50c6d7bdfad8a462629a500dd114 (patch)
tree80c2550a81faa0d125f56ea6b9e0a18135d6aeba /client/map
parent7612bae40de7f9494ebca230965989efada60778 (diff)
downloadhurrycurry-dfda0d0aeb8a50c6d7bdfad8a462629a500dd114.tar
hurrycurry-dfda0d0aeb8a50c6d7bdfad8a462629a500dd114.tar.bz2
hurrycurry-dfda0d0aeb8a50c6d7bdfad8a462629a500dd114.tar.zst
Fix: Pot and pan items invisible
Diffstat (limited to 'client/map')
-rw-r--r--client/map/items/pan.gd2
-rw-r--r--client/map/items/pot.gd2
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)