Refactored tile data detection into a match statement.
This commit is contained in:
parent
528a8ee453
commit
8162b33c7d
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ func _ready() -> void:
|
|||
#Loads in all of the custom tile data from the Tile Map Layer.
|
||||
for i in range(tile_layer.tile_set.get_custom_data_layers_count()):
|
||||
tile_map_custom_data.append(tile_layer.tile_set.get_custom_data_layer_name(i))
|
||||
print(tile_map_custom_data)
|
||||
|
||||
#Triggers fade in animation, and then triggers respawn script.
|
||||
transition_rect.fade_in()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue