Your current LSS Browsing data will be saved upon playing a custom level, and will return you to where you originally were, before play

This commit is contained in:
JHDev2006
2025-09-20 22:13:43 +01:00
parent 4cc6e938fc
commit 567e751065
9 changed files with 84 additions and 29 deletions

View File

@@ -265,6 +265,7 @@ func reset_values() -> void:
PlayerGhost.idx = 0
Checkpoint.passed = false
Checkpoint.sublevel_id = 0
Door.unlocked_doors = []
Level.start_level_path = Level.get_scene_string(Global.world_num, Global.level_num)
LevelPersistance.reset_states()
Level.first_load = true