unlocked doors now get saved between checkpoints, correctly,

This commit is contained in:
JHDev2006
2025-09-22 11:21:30 +01:00
parent 11a11b3604
commit 795f9be8c2
8 changed files with 13 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ func _ready() -> void:
Global.p_switch_active = false
Lakitu.present = false
Global.p_switch_timer = -1
if Checkpoint.passed:
Door.unlocked_doors = Checkpoint.unlocked_doors.duplicate()
if Global.current_campaign == "SMBANN":
DiscoLevel.reset_values()
DiscoLevel.first_load = true