mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #1251 from FlightControl-Master/FF/Develop
FOX fixed log spamming
This commit is contained in:
commit
3a9ad1b7cc
@ -961,7 +961,7 @@ function FOX:onafterMissileLaunch(From, Event, To, missile)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if target then
|
if target then
|
||||||
self:I(self.lid..string.format("Missile %s with NO explicit target got closest unit to missile as target %s. Dist=%s m", missile.missileType, target:GetName(), tostring(mindist)))
|
self:T(self.lid..string.format("Missile %s with NO explicit target got closest unit to missile as target %s. Dist=%s m", missile.missileType, target:GetName(), tostring(mindist)))
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
@ -1066,7 +1066,7 @@ function FOX:onafterMissileLaunch(From, Event, To, missile)
|
|||||||
else
|
else
|
||||||
|
|
||||||
-- Destroy missile.
|
-- Destroy missile.
|
||||||
self:I(self.lid..string.format("Missile %s(%s) fired by %s has no current target. Checking back in 0.1 sec.", missile.missileType, missile.missileName, missile.shooterName))
|
self:T(self.lid..string.format("Missile %s(%s) fired by %s has no current target. Checking back in 0.1 sec.", missile.missileType, missile.missileName, missile.shooterName))
|
||||||
return timer.getTime()+0.1
|
return timer.getTime()+0.1
|
||||||
|
|
||||||
-- No target ==> terminate timer.
|
-- No target ==> terminate timer.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user