Fix more PascalCase inconsistencies
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user