mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
fb0aeafaa2
@ -386,8 +386,10 @@ function WEAPON:GetTarget()
|
|||||||
--Target name
|
--Target name
|
||||||
local name=object:getName()
|
local name=object:getName()
|
||||||
|
|
||||||
|
if name then
|
||||||
|
|
||||||
-- Debug info.
|
-- Debug info.
|
||||||
self:T(self.lid..string.format("Got Target Object %s, category=%d", object:getName(), category))
|
self:T(self.lid..string.format("Got Target Object %s, category=%d", name, category))
|
||||||
|
|
||||||
if category==Object.Category.UNIT then
|
if category==Object.Category.UNIT then
|
||||||
|
|
||||||
@ -402,7 +404,7 @@ function WEAPON:GetTarget()
|
|||||||
else
|
else
|
||||||
self:E(self.lid..string.format("ERROR: Object category=%d is not implemented yet!", category))
|
self:E(self.lid..string.format("ERROR: Object category=%d is not implemented yet!", category))
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user