Revert "Merge pull request #458 from KirbyKid256/pulls/more-animated-tilesets"

This reverts commit 07cb5015cf, reversing
changes made to ad03246040.
This commit is contained in:
JoeMama
2025-10-10 11:06:32 +01:00
parent 7e0443d030
commit 437f98884d
14 changed files with 28 additions and 390 deletions

View File

@@ -85,8 +85,6 @@ func spawn_empty_block() -> void:
add_sibling(block)
if get_parent().get_parent() is TrackRider:
get_parent().get_parent().attached_entity = block
if get_parent() is TileMapLayer:
get_parent().erase_cell(get_parent().local_to_map(position))
block_emptied.emit()
queue_free()
@@ -97,6 +95,4 @@ func destroy() -> void:
var particles = destruction_particle_scene.instantiate()
particles.global_position = global_position
add_sibling(particles)
if get_parent() is TileMapLayer:
get_parent().erase_cell(get_parent().local_to_map(position))
queue_free()