mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
ensuring in missiletrainer that smoke is on the ground of missile getting destructed.
This commit is contained in:
parent
a76ec08499
commit
a466daf1aa
@ -501,7 +501,7 @@ function MISSILETRAINER:_EventShot( Event )
|
||||
end
|
||||
else
|
||||
-- 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
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||
env.info( 'Moose Generation Timestamp: 20160723_1232' )
|
||||
env.info( 'Moose Generation Timestamp: 20160723_1236' )
|
||||
local base = _G
|
||||
|
||||
Include = {}
|
||||
@ -23726,7 +23726,7 @@ function MISSILETRAINER:_EventShot( Event )
|
||||
end
|
||||
else
|
||||
-- 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
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
|
||||
env.info( 'Moose Generation Timestamp: 20160723_1232' )
|
||||
env.info( 'Moose Generation Timestamp: 20160723_1236' )
|
||||
local base = _G
|
||||
|
||||
Include = {}
|
||||
@ -23726,7 +23726,7 @@ function MISSILETRAINER:_EventShot( Event )
|
||||
end
|
||||
else
|
||||
-- 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user