diff --git a/Moose Development/Moose/Core/Spawn.lua b/Moose Development/Moose/Core/Spawn.lua index e89d53b63..ab50cae9b 100644 --- a/Moose Development/Moose/Core/Spawn.lua +++ b/Moose Development/Moose/Core/Spawn.lua @@ -1883,7 +1883,7 @@ function SPAWN:SpawnWithIndex( SpawnIndex, NoBirth ) if self.BeforeTemplateSpawnFunc then - self:BeforeTemplateSpawnFunc(SpawnTemplate, SpawnIndex) + self.BeforeTemplateSpawnFunc(SpawnTemplate, SpawnIndex) end end @@ -2011,14 +2011,14 @@ end -- -- Declare SpawnObject and call a function when a new Group is spawned. -- local SpawnObject = SPAWN:New( "SpawnObject" ) -- :InitLimit( 2, 10 ) --- :OnBeforeSpawnGroup( function( SpawnTemplate ) +-- :OnBeforeTemplateSpawnGroup( function( SpawnTemplate ) -- Tweaking the template units -- end -- ) -- :SpawnScheduled( 300, 0.3 ) -- function SPAWN:OnBeforeTemplateSpawnGroup( BeforeTemplateSpawnFunc ) - --self:F( "OnBeforeSpawnGroup" ) + --self:F( "OnBeforeTemplateSpawnGroup" ) self.BeforeTemplateSpawnFunc = BeforeTemplateSpawnFunc