Skip to content

Commit

Permalink
Fixing @DFortun81 PR :)
Browse files Browse the repository at this point in the history
  • Loading branch information
IrcDirk committed Feb 15, 2024
1 parent 7e9d023 commit 1b60f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Carbonite/NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10074,7 +10074,7 @@ function Nx.Map:AddTarget (target)

if Nx.Notes then
local zx, zy = self:GetZonePos (target.MapId, target.TargetMX, target.TargetMY)
Nx.Notes:Record (options.keep and "Target" or "TargetS", target.TargetName, target.MapId, zx, zy)
Nx.Notes:Record (target.keep and "Target" or "TargetS", target.TargetName, target.MapId, zx, zy)
end

return target
Expand All @@ -10087,7 +10087,7 @@ end

function Nx.Map:SetTarget (typ, x1, y1, x2, y2, tex, id, name, keep, mapId)
-- This is a legacy function, for more extensibility, use the Nx.Map:AddTarget (target) function instead
return Nx.Map:AddTarget({
return self:AddTarget({
MapId = mapId,
TargetType = typ,
TargetX1 = x1,
Expand Down

0 comments on commit 1b60f18

Please sign in to comment.