From 82e8d4e43ff0d18639c3c2c7f7ac48f3c835644c Mon Sep 17 00:00:00 2001 From: David Schwietering Date: Sun, 22 Dec 2024 17:23:20 +0100 Subject: [PATCH] stupid luau compiler missing comma check ... --- scripts/ai/controllers/ShovelController.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ai/controllers/ShovelController.lua b/scripts/ai/controllers/ShovelController.lua index 7c40c3e6..2b336d34 100644 --- a/scripts/ai/controllers/ShovelController.lua +++ b/scripts/ai/controllers/ShovelController.lua @@ -189,7 +189,7 @@ function ShovelController:calculateMinimalUnloadingHeight(triggerNode) local maxHeightObjectHit = 0 for i=self.MIN_TRIGGER_HEIGHT, self.MAX_TRIGGER_HEIGHT, 0.1 do self.objectWasHit = false - raycastAll(sx, terrainHeight + i, sz, dx, 0, dz, length + raycastAll(sx, terrainHeight + i, sz, dx, 0, dz, length, "calculateMinimalUnloadingHeightRaycastCallback", self, self.TRIGGER_HEIGHT_RAYCAST_COLLISION_MASK) if self.objectWasHit then