Broken pos

This commit is contained in:
Rendo 2025-10-15 11:55:18 +05:00
commit 3af13d0a8b
24 changed files with 304 additions and 146 deletions

View file

@ -17,7 +17,6 @@ func _input(event: InputEvent) -> void:
selected_prototype = null
if event.is_action_pressed("plc_place") and delete_mode:
print(delete_mode)
var zone : PlacementZone = try_get_zone(global_position)
if zone != null and zone.grid_controller.is_point_occupied(global_position):
zone.grid_controller.destroy_at(global_position)