mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-26 17:30:54 +00:00
quick fix with checkpoint flags not appaearing in custom levels
This commit is contained in:
@@ -35,7 +35,7 @@ func _ready() -> void:
|
|||||||
if Settings.file.difficulty.checkpoint_style != 0:
|
if Settings.file.difficulty.checkpoint_style != 0:
|
||||||
queue_free()
|
queue_free()
|
||||||
return
|
return
|
||||||
elif Settings.file.difficulty.checkpoint_style == 0:
|
elif Settings.file.difficulty.checkpoint_style == 0 and [Global.GameMode.CUSTOM_LEVEL, Global.GameMode.LEVEL_EDITOR].has(Global.current_game_mode) == false:
|
||||||
queue_free()
|
queue_free()
|
||||||
return
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user