Optimizations

This commit is contained in:
smiki
2026-02-05 10:49:48 +01:00
parent c91b59f8cd
commit bd64d084e9
4 changed files with 22 additions and 27 deletions
+2 -6
View File
@@ -1352,9 +1352,7 @@ function UNIT:GetThreatLevel()
end
ThreatText = ThreatLevels[ThreatLevel + 1]
end
if self:IsAir() then
elseif self:IsAir() then
local ThreatLevels = {
[1] = "Unarmed",
@@ -1397,9 +1395,7 @@ function UNIT:GetThreatLevel()
end
ThreatText = ThreatLevels[ThreatLevel + 1]
end
if self:IsShip() then
elseif self:IsShip() then
--["Aircraft Carriers"] = {"Heavy armed ships",},
--["Cruisers"] = {"Heavy armed ships",},