quick fix with checkpoint flags not appaearing in custom levels

This commit is contained in:
JoeMama
2025-10-25 12:42:22 +01:00
parent 9f19571475
commit 397c375df9

View File

@@ -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: