mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
quick fix with checkpoint flags not appaearing in custom levels
This commit is contained in:
parent
9f19571475
commit
397c375df9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ func _ready() -> void:
|
|||
if Settings.file.difficulty.checkpoint_style != 0:
|
||||
queue_free()
|
||||
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()
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue