[SOLVED] command to remove every belt from a map?
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
[SOLVED] command to remove every belt from a map?
is there a console command i could use to remove all the belts from a map?
Last edited by impetus maximus on Sun Sep 03, 2017 12:58 pm, edited 1 time in total.
Re: command to remove every belt from a map?
/c for _, belt in pairs(game.player.surface.find_entities_filtered{type = "transport-belt"}) do belt.destroy() end
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: command to remove every belt from a map?
wow you are fast. many thanks. 
