mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-21 23:18:11 +00:00
fixed an issue where coin particles werent spawning if the coin was part of the tilemap
This commit is contained in:
@@ -24,8 +24,8 @@ func collect() -> void:
|
||||
$Sprite.queue_free()
|
||||
else:
|
||||
queue_free()
|
||||
if get_parent() is TileMapLayer:
|
||||
get_parent().erase_cell(get_parent().local_to_map(position))
|
||||
if get_parent() is TileMapLayer:
|
||||
get_parent().erase_cell(get_parent().local_to_map(position))
|
||||
|
||||
func summon_block_coin() -> void:
|
||||
var node = spinning_coin_scene.instantiate()
|
||||
|
Reference in New Issue
Block a user