mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
fixed an issue where you could throw a fireball frame one of exiting a pipe
This commit is contained in:
@@ -65,7 +65,6 @@ func update_visuals() -> void:
|
||||
|
||||
func exit_pipe() -> void:
|
||||
pipe_exited.emit()
|
||||
await get_tree().physics_frame
|
||||
for i in get_tree().get_nodes_in_group("Players"):
|
||||
i.go_to_exit_pipe(self)
|
||||
for i in get_tree().get_nodes_in_group("Players"):
|
||||
|
@@ -796,7 +796,7 @@ func hide_pipe_animation() -> void:
|
||||
func go_to_exit_pipe(pipe: PipeArea) -> void:
|
||||
Global.can_time_tick = false
|
||||
pipe_enter_direction = Vector2.ZERO
|
||||
state_machine.transition_to("Pipe")
|
||||
state_machine.transition_to("Freeze")
|
||||
global_position = pipe.global_position + (pipe.get_vector(pipe.enter_direction) * 32)
|
||||
if pipe.enter_direction == 1:
|
||||
global_position = pipe.global_position + Vector2(0, -8)
|
||||
|
Reference in New Issue
Block a user