Skip to content

Commit 3ce9420

Browse files
authored
Fixed getMaxYawRate function documentation (#2251)
* Fixed getMaxYawRate function documentation It had a ---@param when it is a getter function :p * Document getMaxYawRate return value Added documentation for getMaxYawRate method.
1 parent 01a6a3d commit 3ce9420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/starfall/libs_sv/nextbot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ end
535535

536536
--- Gets the max rate at which the NextBot can visually rotate.
537537
-- @server
538-
-- @param number The NextBot's max yaw rate.
538+
-- @return number The nextbot's current maximum yaw rate.
539539
function nb_methods:getMaxYawRate()
540540
local nb = nbunwrap(self)
541541
return Ent_GetTable(nb).loco:GetMaxYawRate()

0 commit comments

Comments
 (0)