fixed some annoying path edit tool bugs

This commit is contained in:
2025-06-23 16:33:34 +10:00
parent 6f4f465e37
commit c6763afd62
3 changed files with 23 additions and 19 deletions

View File

@ -41,8 +41,8 @@ func enable_non_path_tower_frames() -> void:
func disable_path_tower_frames() -> void:
for node: FlowNode in tower_frames:
if !node.traversable and flow_field.traversable_after_blocking_point(node):
tower_frames[node].visible = true
if node.traversable and !flow_field.traversable_after_blocking_point(node):
tower_frames[node].visible = false
func set_wall(point: FlowNode, caller_id: int) -> void: