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
|
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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user