1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-06 08:56:27 +02:00
This commit is contained in:
MewMew
2019-08-23 14:41:32 +02:00
parent 5023f45867
commit 2955b4ab3d
2 changed files with 7 additions and 4 deletions

View File

@@ -95,7 +95,8 @@ local function on_chunk_charted(event)
end
local function tick(event)
local surface = game.players[1].surface
if not game.connected_players[1] then return end
local surface = game.connected_players[1].surface
for a = 1, 32, 1 do
if grow_trees(surface) then break end