mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-15 15:30:21 -08:00
Castle bridge particles on classic now only appear if Extra Effects is enabled (#569)
This commit is contained in:
parent
7560403c54
commit
832b34214c
1 changed files with 5 additions and 4 deletions
|
|
@ -70,6 +70,7 @@ func bridge_piece_fall(node: Node2D) -> void:
|
|||
const BRIDGE_DESTRUCTION_PARTICLE = preload("uid://cwfjdgsyh35h6")
|
||||
|
||||
func bridge_piece_break(node: Node2D) -> void:
|
||||
if Settings.file.visuals.extra_particles == 1:
|
||||
var particle = BRIDGE_DESTRUCTION_PARTICLE.instantiate()
|
||||
particle.global_position = node.global_position
|
||||
particle.process_mode = Node.PROCESS_MODE_ALWAYS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue