From aa65856d5640f289b904a822653720e4e29533e1 Mon Sep 17 00:00:00 2001 From: Ambroise Garel <47314805+akaAgar@users.noreply.github.com> Date: Fri, 25 Jul 2025 18:01:29 +0200 Subject: [PATCH] Minor fix to speedboat identification --- Script/Library/ObjectNames.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Script/Library/ObjectNames.lua b/Script/Library/ObjectNames.lua index 95aa00a..1494dcb 100644 --- a/Script/Library/ObjectNames.lua +++ b/Script/Library/ObjectNames.lua @@ -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"