Fix Bowser not disabling flame generators (#648)

This commit is contained in:
John Cooper McDonald
2025-10-22 10:44:56 -05:00
committed by GitHub
parent f04b20e5b8
commit d372ff4840

View File

@@ -130,8 +130,7 @@ func fireball_hit() -> void:
func play_music() -> void: func play_music() -> void:
for i: EntityGenerator in get_tree().get_nodes_in_group("EntityGenerators"): for i: EntityGenerator in get_tree().get_nodes_in_group("EntityGenerators"):
if i.entity_scene != null: if i.entity_scene != null:
if i.entity_scene.resource_path == "res://Scenes/ if i.entity_scene.resource_path == "res://Scenes/Prefabs/Entities/Enemies/BowserFlame.tscn":
Prefabs/Entities/Enemies/BowserFlame.tscn":
i.queue_free() i.queue_free()
if Settings.file.audio.extra_bgm == 0: return if Settings.file.audio.extra_bgm == 0: return
if Global.level_editor != null: if Global.level_editor != null: