mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update RAT.lua
Fixed bug with uncontrolled spawning.
This commit is contained in:
parent
07edcd7e73
commit
f48f53fb37
@ -5173,6 +5173,7 @@ function RAT:_ModifySpawnTemplate(waypoints, livery, spawnplace, departure, take
|
|||||||
if self.uncontrolled then
|
if self.uncontrolled then
|
||||||
-- This is used in the SPAWN:SpawnWithIndex() function. Some values are overwritten there!
|
-- This is used in the SPAWN:SpawnWithIndex() function. Some values are overwritten there!
|
||||||
self.SpawnUnControlled=true
|
self.SpawnUnControlled=true
|
||||||
|
SpawnTemplate.uncontrolled=true
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Number of units in the group. With grouping this can actually differ from the template group size!
|
-- Number of units in the group. With grouping this can actually differ from the template group size!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user