Skip to content

Commit

Permalink
Fix typo in an engine function (#6521)
Browse files Browse the repository at this point in the history
  • Loading branch information
4z0t authored Nov 7, 2024
1 parent 3cc1ec6 commit 5ae907e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/Sim/Unit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions units/URS0201/URS0201_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}
Expand Down

0 comments on commit 5ae907e

Please sign in to comment.