ensuring in missiletrainer that smoke is on the ground of missile getting destructed.

This commit is contained in:
FlightControl 2016-07-23 12:36:37 +02:00
parent a76ec08499
commit a466daf1aa
3 changed files with 5 additions and 5 deletions

View File

@ -501,7 +501,7 @@ function MISSILETRAINER:_EventShot( Event )
end end
else else
-- TODO: some weapons don't know the target unit... Need to develop a workaround for this. -- TODO: some weapons don't know the target unit... Need to develop a workaround for this.
TrainerWeapon:destroy() SCHEDULER:New( TrainerWeapon, TrainerWeapon.destroy, {}, 2 )
end end
end end

View File

@ -1,5 +1,5 @@
env.info( '*** MOOSE STATIC INCLUDE START *** ' ) env.info( '*** MOOSE STATIC INCLUDE START *** ' )
env.info( 'Moose Generation Timestamp: 20160723_1232' ) env.info( 'Moose Generation Timestamp: 20160723_1236' )
local base = _G local base = _G
Include = {} Include = {}
@ -23726,7 +23726,7 @@ function MISSILETRAINER:_EventShot( Event )
end end
else else
-- TODO: some weapons don't know the target unit... Need to develop a workaround for this. -- TODO: some weapons don't know the target unit... Need to develop a workaround for this.
TrainerWeapon:destroy() SCHEDULER:New( TrainerWeapon, TrainerWeapon.destroy, {}, 2 )
end end
end end

View File

@ -1,5 +1,5 @@
env.info( '*** MOOSE STATIC INCLUDE START *** ' ) env.info( '*** MOOSE STATIC INCLUDE START *** ' )
env.info( 'Moose Generation Timestamp: 20160723_1232' ) env.info( 'Moose Generation Timestamp: 20160723_1236' )
local base = _G local base = _G
Include = {} Include = {}
@ -23726,7 +23726,7 @@ function MISSILETRAINER:_EventShot( Event )
end end
else else
-- TODO: some weapons don't know the target unit... Need to develop a workaround for this. -- TODO: some weapons don't know the target unit... Need to develop a workaround for this.
TrainerWeapon:destroy() SCHEDULER:New( TrainerWeapon, TrainerWeapon.destroy, {}, 2 )
end end
end end