From e788c66c039e74c9ce1d51646c6b2f42113be20f Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 13 Sep 2024 18:18:25 +0200 Subject: Fix error when contents array is empty --- client/map/items/plate.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/map/items/plate.gd') diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index 7019bcf8..4463ce05 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -17,7 +17,7 @@ class_name Plate extends Item -func _init(owned_by_: Node3D, contents: Array[String]): +func _init(owned_by_: Node3D, contents: Array): super(owned_by_) add_child(load("res://map/items/plate.tscn").instantiate()) -- cgit v1.3.1