mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-25 17:00:54 +00:00
fixed checkpoint flags persiting nomateer the settings
This commit is contained in:
@@ -34,6 +34,10 @@ func _ready() -> void:
|
|||||||
hide()
|
hide()
|
||||||
if Settings.file.difficulty.checkpoint_style != 0:
|
if Settings.file.difficulty.checkpoint_style != 0:
|
||||||
queue_free()
|
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:
|
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:
|
for i in nodes_to_delete:
|
||||||
i.queue_free()
|
i.queue_free()
|
||||||
|
|||||||
Reference in New Issue
Block a user