mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Fixed a weird bug with checkpoints in the level editor + some tile fixes too
This commit is contained in:
@@ -351,6 +351,7 @@ func save_level() -> void:
|
||||
$LevelSaver.write_file(level_file, file_name)
|
||||
%SaveDialog.text = str("'") + file_name + "'" + " Saved."
|
||||
%SaveAnimation.play("Show")
|
||||
current_state = EditorState.TILE_MENU
|
||||
level_saved.emit()
|
||||
|
||||
func close_save_menu() -> void:
|
||||
|
@@ -15,6 +15,7 @@ func _ready() -> void:
|
||||
|
||||
func load_level(level_idx := 0) -> void:
|
||||
clear_level()
|
||||
editor.sub_level_id = level_idx
|
||||
sub_level_file = editor.level_file["Levels"][level_idx]
|
||||
build_level()
|
||||
|
||||
|
Reference in New Issue
Block a user