From 5ae907e3dac7516278c3ff8824bc5ac9e1823c04 Mon Sep 17 00:00:00 2001 From: Alexander <84857900+4z0t@users.noreply.github.com> Date: Fri, 8 Nov 2024 00:04:32 +0300 Subject: [PATCH] Fix typo in an engine function (#6521) --- engine/Sim/Unit.lua | 2 +- units/URS0201/URS0201_script.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/Sim/Unit.lua b/engine/Sim/Unit.lua index d1a761b09b..ea46780f7e 100644 --- a/engine/Sim/Unit.lua +++ b/engine/Sim/Unit.lua @@ -127,7 +127,7 @@ end ---Forces game to use AltFootprint for the unit ---@param state boolean -function Unit:ForceAltFootPrint(state) +function Unit:ForceAltFootprint(state) end --- Returns the unit's multiplier to a damage type diff --git a/units/URS0201/URS0201_script.lua b/units/URS0201/URS0201_script.lua index 4e7d7886f3..924a28955e 100644 --- a/units/URS0201/URS0201_script.lua +++ b/units/URS0201/URS0201_script.lua @@ -173,7 +173,7 @@ URS0201 = ClassUnit(CSeaUnit) { CSeaUnit.OnScriptBitSet(self, bit) if bit == 1 then if self.Layer ~= 'Land' then - self:ForceAltFootPrint(true) + self:ForceAltFootprint(true) else self:SetScriptBit('RULEUTC_WeaponToggle', false) end @@ -183,7 +183,7 @@ URS0201 = ClassUnit(CSeaUnit) { OnScriptBitClear = function(self, bit) CSeaUnit.OnScriptBitClear(self, bit) if bit == 1 then - self:ForceAltFootPrint(false) + self:ForceAltFootprint(false) end end, }