aboutsummaryrefslogtreecommitdiff
path: root/client/scripts/tiles/window.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/scripts/tiles/window.gd')
-rw-r--r--client/scripts/tiles/window.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/scripts/tiles/window.gd b/client/scripts/tiles/window.gd
index 953f97db..907377d6 100644
--- a/client/scripts/tiles/window.gd
+++ b/client/scripts/tiles/window.gd
@@ -1,8 +1,8 @@
class_name WallWindow
extends WallTile
-func setup(rename: String, neighbors: Array):
- super.setup(rename, neighbors)
+func _init(rename: String, neighbors: Array):
+ super(rename, neighbors)
match kind:
WallKind.STRAIGHT:
base.add_child(load("res://models/prefabs/map/window.tscn").instantiate())