Skip to content

Commit fa50d6f

Browse files
committed
Don't double update
1 parent 50a1031 commit fa50d6f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

module/control.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ function universal_edges.edge_update(edge_id, edge_json)
243243

244244
-- If position or rotation changed, remove all links and recreate them
245245
if position_or_rotation_changed then
246-
-- Update barriers for position/rotation change
247-
barrier_manager.update_edge_barriers(edge_id, edge)
248-
249246
local surface = game.surfaces[edge_util.edge_get_local_target(old_edge).surface]
250247
if surface then
251248
-- Remove all existing belt links

0 commit comments

Comments
 (0)