From fc3237a432d3b7a11fd4468d6d3fd5525ebd2c0c Mon Sep 17 00:00:00 2001 From: nokoe Date: Fri, 21 Jun 2024 20:50:40 +0200 Subject: replace setup with _init --- client/scripts/tiles/counter_base.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/scripts/tiles/counter_base.gd') diff --git a/client/scripts/tiles/counter_base.gd b/client/scripts/tiles/counter_base.gd index 19c7f045..bf51513e 100644 --- a/client/scripts/tiles/counter_base.gd +++ b/client/scripts/tiles/counter_base.gd @@ -1,8 +1,8 @@ class_name CounterBase extends Counter -func setup(rename: String, neighbors: Array): - super.setup(rename, neighbors) +func _init(rename: String, neighbors: Array): + super(rename, neighbors) match kind: CounterKind.OUTER_CORNER: base.add_child(load("res://models/prefabs/map/kitchencounter_outercorner.tscn").instantiate()) -- cgit v1.2.3-70-g09d2