diff options
author | nokoe <nokoe@mailbox.org> | 2025-10-06 22:38:42 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2025-10-06 22:38:42 +0200 |
commit | 094417b7d289ff477670ffed6023dfdb55d73d00 (patch) | |
tree | 648c1232f1fc36148966e570c5317bfcd7dc9d82 /client/rolled_dough.gd | |
parent | fc4de182fa5c9afca17069f09f362109c0a957a2 (diff) | |
download | hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar.bz2 hurrycurry-094417b7d289ff477670ffed6023dfdb55d73d00.tar.zst |
add height property to item, replace static function
Diffstat (limited to 'client/rolled_dough.gd')
-rw-r--r-- | client/rolled_dough.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/rolled_dough.gd b/client/rolled_dough.gd index 0581fc8c..cd59d907 100644 --- a/client/rolled_dough.gd +++ b/client/rolled_dough.gd @@ -17,8 +17,8 @@ class_name RolledDough extends Item -func _init(owned_by_: Node3D, contents: Array): - super(owned_by_, contents) +func _init(owned_by_: Node3D): + super(owned_by_) add_child(load("res://map/items/rolled_dough.tscn").instantiate()) func add_contents(contents: Array[String]): |