Minor fix to speedboat identification

This commit is contained in:
Ambroise Garel 2025-07-25 18:01:29 +02:00
parent 05f93728ec
commit aa65856d56

View File

@ -625,8 +625,8 @@ do
return "vehicle"
end
elseif objDesc.category == Unit.Category.SHIP then
if inaccurate then return "ship" end
if obj:getTypeName() == "speedboat" then return "speedboat" end
if inaccurate then return "ship" end
if obj:hasAttribute("Submarines") then
return "submarine"