Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- before:
- local function onSurfaceCreated(event)
- prepMap(game.surfaces[event.surface_index])
- end
- after:
- local function onSurfaceCreated(event)
- --prepMap(game.surfaces[event.surface_index])
- for _,surface in pairs(game.surfaces) do
- prepMap(surface)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment