mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
commit
6882c4b42f
@ -1437,6 +1437,7 @@ function SPAWN:SpawnWithIndex( SpawnIndex, NoBirth )
|
|||||||
--end
|
--end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
self.SpawnGroups[self.SpawnIndex].Spawned = true
|
self.SpawnGroups[self.SpawnIndex].Spawned = true
|
||||||
return self.SpawnGroups[self.SpawnIndex].Group
|
return self.SpawnGroups[self.SpawnIndex].Group
|
||||||
else
|
else
|
||||||
@ -2984,13 +2985,14 @@ function SPAWN:_Prepare( SpawnTemplatePrefix, SpawnIndex ) --R2.2
|
|||||||
-- self.SpawnTemplate = self:_GetTemplate( SpawnTemplatePrefix )
|
-- self.SpawnTemplate = self:_GetTemplate( SpawnTemplatePrefix )
|
||||||
-- end
|
-- end
|
||||||
|
|
||||||
local SpawnTemplate
|
local SpawnTemplate
|
||||||
if self.TweakedTemplate ~= nil and self.TweakedTemplate == true then
|
if self.TweakedTemplate ~= nil and self.TweakedTemplate == true then
|
||||||
BASE:I("WARNING: You are using a tweaked template.")
|
BASE:I("WARNING: You are using a tweaked template.")
|
||||||
SpawnTemplate = self.SpawnTemplate
|
SpawnTemplate = self.SpawnTemplate
|
||||||
else
|
else
|
||||||
SpawnTemplate = self:_GetTemplate( SpawnTemplatePrefix )
|
SpawnTemplate = self:_GetTemplate( SpawnTemplatePrefix )
|
||||||
end
|
SpawnTemplate.name = self:SpawnGroupName( SpawnIndex )
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
SpawnTemplate.groupId = nil
|
SpawnTemplate.groupId = nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user