From c97838477fe816275e2e5680c161877cbf68e18b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 26 Dec 2021 04:15:32 +0100 Subject: [PATCH] Greatly increase laser iterations limit --- mods/lzr_laser/physics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/lzr_laser/physics.lua b/mods/lzr_laser/physics.lua index 491da97..4161e64 100644 --- a/mods/lzr_laser/physics.lua +++ b/mods/lzr_laser/physics.lua @@ -1,5 +1,5 @@ -- Max. number of steps in the laser travel algorithm -local MAX_LASER_ITERATIONS = 50 +local MAX_LASER_ITERATIONS = 10000 -- Add a laser node to pos with the direction `dir`. -- Dir is a direction vector, and only one direction must be set