Skip to content

Commit

Permalink
Missed some doc
Browse files Browse the repository at this point in the history
Missed the [VExtensions] tag on canPrintLocal. We will now append this tag on all SF Functions (So they're easily identified)
  • Loading branch information
Vurv78 committed Feb 21, 2021
1 parent d01b190 commit c5e4320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/starfall/libs_sh/playerex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ return function(instance)
end)

--- Sets the angle of the player's view (may rotate body too if angular difference is large)
--- [VExtensions]
-- [VExtensions]
-- @shared
-- @param Angle angle to set player's eye angles to.
function player_methods:setEyeAngles(ang)
Expand Down
1 change: 1 addition & 0 deletions lua/starfall/libs_sh/printlocal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ return function(instance)
--- Returns whether you can printLocal.
-- This only returns the burst limit and not whether the user has printLocal enabled.
-- If you want to check if they have it enabled, see hasPermission and the vextensions.printLocal permission.
-- [VExtensions]
-- @return bool Whether you can call printLocal.
function builtins_library.canPrintLocal()
return PRINT_BURST:available( LocalPlayer() )
Expand Down

0 comments on commit c5e4320

Please sign in to comment.