mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Merge pull request #284 from KirbyKid256/pulls/coin-heaven-warp-fix
Coin Heaven Warps Player to The Right Spot
This commit is contained in:
@@ -5,9 +5,10 @@ extends Node2D
|
|||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
Level.vine_warp_level = heaven_scene
|
Level.vine_warp_level = heaven_scene
|
||||||
Level.in_vine_level = false
|
if Level.in_vine_level:
|
||||||
if Level.in_vine_level and PipeArea.exiting_pipe_id == -1:
|
Level.in_vine_level = false
|
||||||
for i in get_tree().get_nodes_in_group("Players"):
|
if PipeArea.exiting_pipe_id == -1:
|
||||||
i.global_position = global_position
|
for i in get_tree().get_nodes_in_group("Players"):
|
||||||
i.reset_physics_interpolation()
|
i.global_position = global_position
|
||||||
i.recenter_camera()
|
i.reset_physics_interpolation()
|
||||||
|
i.recenter_camera()
|
||||||
|
Reference in New Issue
Block a user