mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
fixed a door bug with cusotm levels
This commit is contained in:
@@ -43,6 +43,8 @@ func _ready() -> void:
|
||||
Global.p_switch_timer = -1
|
||||
if Checkpoint.passed:
|
||||
Door.unlocked_doors = Checkpoint.unlocked_doors.duplicate()
|
||||
else:
|
||||
Door.unlocked_doors = []
|
||||
if Global.current_campaign == "SMBANN":
|
||||
DiscoLevel.reset_values()
|
||||
DiscoLevel.first_load = true
|
||||
|
Reference in New Issue
Block a user