Spawn - reference original template when using SpawnWithAlias in Group.TemplateDonor

This commit is contained in:
Applevangelist 2024-02-12 18:34:12 +01:00
parent 86e13df303
commit 4b84d227f0

View File

@ -1699,6 +1699,7 @@ function SPAWN:SpawnWithIndex( SpawnIndex, NoBirth )
end
self.SpawnGroups[self.SpawnIndex].Spawned = true
self.SpawnGroups[self.SpawnIndex].Group.TemplateDonor = self.SpawnTemplatePrefix
return self.SpawnGroups[self.SpawnIndex].Group
else
-- self:E( { self.SpawnTemplatePrefix, "No more Groups to Spawn:", SpawnIndex, self.SpawnMaxGroups } )