Skip to content

Commit

Permalink
Fix doc-block mistake. Relates to #1509
Browse files Browse the repository at this point in the history
  • Loading branch information
Doloment authored and alek13 committed Sep 8, 2024
1 parent c4886c9 commit b036d45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mods/lord/_experimental/lord_damage/src/damage/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end


--- @param object Player|Entity
--- @param amount amount
--- @param amount number
--- @param reason DamageReason
--- @param chunks number
--- @param run function
Expand All @@ -64,7 +64,7 @@ local function deal_damage(object, amount, reason, chunks, run)
end

--- @param object Player|Entity
--- @param amount amount
--- @param amount number
--- @param reason DamageReason
local function base_behavior(object, amount, reason)
-- THE FOLLOWING LINE IS FOR TESTING PURPOSES ONLY! REMOVE IT WHEN THE DAMAGE SYSTEM IS INTEGRATED INTO THE GAME.
Expand All @@ -73,7 +73,7 @@ local function base_behavior(object, amount, reason)
end

--- @param object Player|Entity
--- @param amount amount
--- @param amount number
--- @param reason DamageReason
--- @param chunks number|nil
--- @param run function
Expand Down

0 comments on commit b036d45

Please sign in to comment.