aboutsummaryrefslogtreecommitdiff
path: root/client/map/tiles/wall.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-28 16:56:19 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-28 16:56:21 +0200
commitcebf9b44a6fa2c74643105bea773adaf0d6ee49a (patch)
tree5c785a13a5725c6d755fd3b4dcc378b5307fd8f2 /client/map/tiles/wall.gd
parent7dc877d87044d12b185aa402420fb493db94e55a (diff)
downloadhurrycurry-cebf9b44a6fa2c74643105bea773adaf0d6ee49a.tar
hurrycurry-cebf9b44a6fa2c74643105bea773adaf0d6ee49a.tar.bz2
hurrycurry-cebf9b44a6fa2c74643105bea773adaf0d6ee49a.tar.zst
Add colorful walls
Diffstat (limited to 'client/map/tiles/wall.gd')
-rw-r--r--client/map/tiles/wall.gd8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/map/tiles/wall.gd b/client/map/tiles/wall.gd
index 4f9588f5..25289635 100644
--- a/client/map/tiles/wall.gd
+++ b/client/map/tiles/wall.gd
@@ -19,7 +19,7 @@ extends WallTile
func _init(ctx: TileFactory.TileCC):
super(ctx)
match kind:
- WallKind.STRAIGHT: base.add_child(load("res://map/tiles/wall_straight.tscn").instantiate())
- WallKind.OUTER_CORNER: base.add_child(load("res://map/tiles/wall_corner.tscn").instantiate())
- WallKind.T: base.add_child(load("res://map/tiles/wall_t.tscn").instantiate())
- WallKind.CROSS: base.add_child(load("res://map/tiles/wall_cross.tscn").instantiate())
+ WallKind.STRAIGHT: add_dyed_mesh(ctx, load("res://map/tiles/wall_straight.tscn").instantiate())
+ WallKind.OUTER_CORNER: add_dyed_mesh(ctx, load("res://map/tiles/wall_corner.tscn").instantiate())
+ WallKind.T: add_dyed_mesh(ctx, load("res://map/tiles/wall_t.tscn").instantiate())
+ WallKind.CROSS: add_dyed_mesh(ctx, load("res://map/tiles/wall_cross.tscn").instantiate())