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

@@ -266,6 +266,7 @@ func reset_values() -> void:
Checkpoint.passed = false
Checkpoint.sublevel_id = 0
Door.unlocked_doors = []
Checkpoint.unlocked_doors = []
KeyItem.total_collected = 0
Checkpoint.keys_collected = 0
Level.start_level_path = Level.get_scene_string(Global.world_num, Global.level_num)