diff options
author | nokoe <nokoe@mailbox.org> | 2024-07-08 01:44:06 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-07-08 01:44:06 +0200 |
commit | ea08be33bf29179249866daf8ba10df53546361c (patch) | |
tree | e902aa1a700676070e4038341ceb53f561e59cfb /client/map/tiles/path.gd | |
parent | 1f4e22ae0193b25e65f5beea111d25c98877d647 (diff) | |
download | hurrycurry-ea08be33bf29179249866daf8ba10df53546361c.tar hurrycurry-ea08be33bf29179249866daf8ba10df53546361c.tar.bz2 hurrycurry-ea08be33bf29179249866daf8ba10df53546361c.tar.zst |
add fence
Diffstat (limited to 'client/map/tiles/path.gd')
-rw-r--r-- | client/map/tiles/path.gd | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/client/map/tiles/path.gd b/client/map/tiles/path.gd index 76c49b64..02240632 100644 --- a/client/map/tiles/path.gd +++ b/client/map/tiles/path.gd @@ -16,8 +16,5 @@ class_name Path extends Tile -func _init(rename: String, _neighbors: Array): - super(rename, _neighbors) - var path_tile = preload("res://map/tiles/path.tscn").instantiate() - path_tile.position += Vector3(0.5, 0, 0.5) - add_child(path_tile) +func get_base_mesh(): + return preload("res://map/tiles/path.tscn").instantiate() |