Fix more PascalCase inconsistencies

This commit is contained in:
2025-10-01 12:07:54 +04:00
parent f6475f83f6
commit 550b2ac220
12 changed files with 55 additions and 19 deletions

View File

@@ -470,7 +470,7 @@ func regenerate_grid():
# More robust tile detection
if child.has_method("get_script") and child.get_script():
var script_path = child.get_script().resource_path
if script_path == "res://scenes/game/gameplays/tile.gd":
if script_path == "res://scenes/game/gameplays/Tile.gd":
children_to_remove.append(child)
removed_count += 1
elif "grid_position" in child: # Fallback detection
@@ -1084,7 +1084,7 @@ func _restore_grid_from_layout(grid_layout: Array, active_gems: Array[int]) -> v
for child in get_children():
if child.has_method("get_script") and child.get_script():
var script_path = child.get_script().resource_path
if script_path == "res://scenes/game/gameplays/tile.gd":
if script_path == "res://scenes/game/gameplays/Tile.gd":
all_tile_children.append(child)
DebugManager.log_debug(