mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
fixed bug #270
This commit is contained in:
@@ -443,6 +443,7 @@ func handle_wing_flight(delta: float) -> void:
|
||||
flight_meter -= delta
|
||||
if flight_meter <= 0 && $Sprite/Wings.visible:
|
||||
AudioManager.stop_music_override(AudioManager.MUSIC_OVERRIDES.WING)
|
||||
gravity = FALL_GRAVITY
|
||||
$Sprite/Wings.visible = flight_meter >= 0
|
||||
if flight_meter < 0:
|
||||
return
|
||||
|
Reference in New Issue
Block a user