From e4a65e99d0fe494ffbd2decd6a5db79f115908ce Mon Sep 17 00:00:00 2001 From: Peter Maloney Date: Sun, 19 Jul 2015 23:22:19 +0200 Subject: [PATCH] moved compute_forceload_positions_between_points above compute_forceload_positions since apparently sometimes you need forward declaration --- technic/machines/other/anchor.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/technic/machines/other/anchor.lua b/technic/machines/other/anchor.lua index 6e58cee..d0d5da2 100644 --- a/technic/machines/other/anchor.lua +++ b/technic/machines/other/anchor.lua @@ -5,12 +5,6 @@ local desc = S("Administrative World Anchor") -- set to false to disable autoforceloading in other files, such as the quarry force loading itself and dig area technic.auto_forceloading_enabled = true --- minpos,maxpos - two opposite corner positions that mark the zone to force load; all coordinates in minpos have to be lower than the ones in maxpos --- return table of positions, one position per block -local function compute_forceload_positions_between_points(minpos, maxpos) - return compute_forceload_positions_between_points(minpos, maxpos) -end - -- minpos,maxpos - two opposite corner positions that mark the zone to force load; all coordinates in minpos have to be lower than the ones in maxpos -- return table of positions, one position per block local function compute_forceload_positions_between_points(minpos, maxpos)