From 41a176ee24495007131121efcfd19cce4613e40a Mon Sep 17 00:00:00 2001 From: nokoe Date: Mon, 6 Oct 2025 23:08:19 +0200 Subject: implement add_contents of remaining container items --- client/map/items/pan.gd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client/map/items/pan.gd') diff --git a/client/map/items/pan.gd b/client/map/items/pan.gd index 11f80deb..497d8832 100644 --- a/client/map/items/pan.gd +++ b/client/map/items/pan.gd @@ -18,12 +18,10 @@ extends Item var steam: CPUParticles3D = load("res://map/items/steam.tscn").instantiate() -func _init(owned_by_: Node3D, contents: Array): +func _init(owned_by_: Node3D): super(owned_by_) add_child(load("res://map/items/pan.tscn").instantiate()) base.add_child(steam) - for c in contents: - base.add_child(ItemFactory.produce(c, self)) func progress(position_: float, speed: float, warn: bool): super(position_, speed, warn) -- cgit v1.2.3-70-g09d2