mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-23 07:58:09 +00:00
Fix Bowser not disabling flame generators (#648)
This commit is contained in:

committed by
GitHub

parent
f04b20e5b8
commit
d372ff4840
@@ -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:
|
||||||
|
Reference in New Issue
Block a user