mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-15 15:30:21 -08:00
fixed checkpoint flags persiting nomateer the settings
This commit is contained in:
parent
df9c00c460
commit
3bfd80b68f
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ func _ready() -> void:
|
|||
hide()
|
||||
if Settings.file.difficulty.checkpoint_style != 0:
|
||||
queue_free()
|
||||
return
|
||||
elif Settings.file.difficulty.checkpoint_style == 0:
|
||||
queue_free()
|
||||
return
|
||||
if passed and PipeArea.exiting_pipe_id == -1 and Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Level.vine_return_level == "" and passed_checkpoints[passed_checkpoints.size() - 1] == id:
|
||||
for i in nodes_to_delete:
|
||||
i.queue_free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue