From f48f53fb376d6473ff5298981fd27eb4a536bfec Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 19 Dec 2019 13:11:58 +0100 Subject: [PATCH] Update RAT.lua Fixed bug with uncontrolled spawning. --- Moose Development/Moose/Functional/RAT.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Moose Development/Moose/Functional/RAT.lua b/Moose Development/Moose/Functional/RAT.lua index 21af54d2e..74c9d8155 100644 --- a/Moose Development/Moose/Functional/RAT.lua +++ b/Moose Development/Moose/Functional/RAT.lua @@ -5173,6 +5173,7 @@ function RAT:_ModifySpawnTemplate(waypoints, livery, spawnplace, departure, take if self.uncontrolled then -- This is used in the SPAWN:SpawnWithIndex() function. Some values are overwritten there! self.SpawnUnControlled=true + SpawnTemplate.uncontrolled=true end -- Number of units in the group. With grouping this can actually differ from the template group size!