Fixed a weird bug with checkpoints in the level editor + some tile fixes too

This commit is contained in:
JHDev2006
2025-09-19 17:36:18 +01:00
parent 561a3239f9
commit 394d8fa620
9 changed files with 2 additions and 0 deletions

View File

@@ -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:

View File

@@ -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()