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, }