Skip to content

Commit

Permalink
Fix missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrb93 committed Jan 20, 2025
1 parent 59ad02e commit 4333f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/starfall/libs_sh/darkrp2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -879,15 +879,15 @@ end
-- @param Entity ent The door
-- @param Player ply The player to query.
-- @return boolean Whether this door is (co-)owned by the player.
function darkrp_library.isKeysOwnedBy(ply)
function darkrp_library.isKeysOwnedBy(ent, ply)
ply = getply(ply)
return assertsafety(getent(ent):isKeysOwnedBy(ply))
end

--- Get whether this entity is a "money bag", i.e. dropped money from a money printer or /dropmoney. DarkRP only.
-- @param Entity ent The entity
-- @return boolean Whether this entity is a money bag.
function darkrp_library.isMoneyBag()
function darkrp_library.isMoneyBag(ent)
return assertsafety(getent(ent):isMoneyBag())
end

Expand Down

0 comments on commit 4333f3c

Please sign in to comment.