We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27e698 commit fda61f2Copy full SHA for fda61f2
2 files changed
.changeset/every-coats-pay.md
@@ -0,0 +1,5 @@
1
+---
2
+"hexagon-tile-map-layer": patch
3
4
+
5
+Fix demo when switching layout without any method selected.
addons/hexagon_tilemaplayer/demo/left_menu.gd
@@ -53,7 +53,8 @@ func switch_to_tilemap(new_tile_map: HexagonTileMapLayer):
53
_on_enable_pathfinding_toggled(button_enable_pathfinding.button_pressed)
54
update_debug_mode()
55
_on_tile_layout_selected(old_layout)
56
- methods_tree.set_selected(old_method, 0)
+ if old_method:
57
+ methods_tree.set_selected(old_method, 0)
58
59
60
func _on_tile_layout_selected(index: int) -> void:
0 commit comments