Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Applevangelist 2024-12-11 13:58:23 +01:00
commit fb0aeafaa2

View File

@ -386,8 +386,10 @@ function WEAPON:GetTarget()
--Target name
local name=object:getName()
if name then
-- 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
@ -402,7 +404,7 @@ function WEAPON:GetTarget()
else
self:E(self.lid..string.format("ERROR: Object category=%d is not implemented yet!", category))
end
end
end
end