mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Don't give points for the powerup from a checkpoint (#628)
This commit is contained in:

committed by
GitHub

parent
6011e6f63b
commit
d37910a379
@@ -62,7 +62,7 @@ func on_area_entered(area: Area2D) -> void:
|
||||
sublevel_id = Global.level_editor.sub_level_id
|
||||
if Settings.file.difficulty.checkpoint_style == 2 and has_meta("is_flag"):
|
||||
if player.power_state.state_name == "Small":
|
||||
player.get_power_up("Big")
|
||||
player.get_power_up("Big", false)
|
||||
respawn_position = global_position
|
||||
crossed.emit(area.owner)
|
||||
|
||||
|
Reference in New Issue
Block a user