you can now have as MANY checkpoints as you want, in as many rooms as you want!

This commit is contained in:
JHDev2006
2025-09-25 09:29:00 +01:00
parent d058425c13
commit 8126439a81
8 changed files with 21 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ func _ready() -> void:
Global.p_switch_active = false
Lakitu.present = false
Global.p_switch_timer = -1
if Checkpoint.passed:
if Checkpoint.passed_checkpoints.is_empty() == false:
Door.unlocked_doors = Checkpoint.unlocked_doors.duplicate()
else:
Door.unlocked_doors = []