mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-24 00:10:52 +00:00
Fix Extra Checkpoint option not doing anything + other checkpoint fixes (#649)
* Fix Extra Checkpoint option not doing anything + other checkpoint fixes * Remove redundancy
This commit is contained in:
committed by
GitHub
parent
b54c4b5913
commit
1e2d4d9404
@@ -6,9 +6,6 @@ static var character_save := "Mario"
|
||||
|
||||
func _ready() -> void:
|
||||
activated.get_node("ResourceSetterNew").resource_json = load(get_character_sprite_path(0))
|
||||
if Settings.file.difficulty.checkpoint_style == 0 and (Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Global.current_game_mode != Global.GameMode.CUSTOM_LEVEL) or Global.current_campaign == "SMBANN":
|
||||
owner.queue_free()
|
||||
return
|
||||
owner.show()
|
||||
if owner.passed:
|
||||
sprite.hide()
|
||||
|
||||
Reference in New Issue
Block a user