Guest User

Untitled

a guest
Apr 6th, 2021
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. before:
  2.  
  3. local function onSurfaceCreated(event)
  4. prepMap(game.surfaces[event.surface_index])
  5. end
  6.  
  7.  
  8. after:
  9.  
  10. local function onSurfaceCreated(event)
  11. --prepMap(game.surfaces[event.surface_index])
  12. for _,surface in pairs(game.surfaces) do
  13. prepMap(surface)
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment