Skip to content

Commit

Permalink
docs(neodoc): Fix a codecomment, ignore a few others
Browse files Browse the repository at this point in the history
  • Loading branch information
Histalek committed Oct 2, 2024
1 parent 3cd0b43 commit a0d199c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ end
local SendScorches

if CLIENT then
-- @ignore
local function ReceiveScorches()
local ent = net.ReadEntity()
local num = net.ReadUInt(8)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ local shouldNotCollideList = {
[COLLISION_GROUP_DEBRIS_TRIGGER] = true,
[COLLISION_GROUP_INTERACTIVE_DEBRIS] = true,
}
-- @ignore
local function ShouldCollide(ent)
return not shouldNotCollideList[ent:GetCollisionGroup()]
end
Expand Down
1 change: 1 addition & 0 deletions gamemodes/terrortown/gamemode/shared/sh_lang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if SERVER then

concommand.Add("_ttt_request_serverlang", ServerLangRequest)
else -- CLIENT
-- @ignore
local function RecvMsg()
local name = net.ReadString()
local mode = net.ReadUInt(MSG_MODE_BITS)
Expand Down
1 change: 1 addition & 0 deletions lua/terrortown/entities/items/item_ttt_disguiser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ if CLIENT then
)
end)
else -- SERVER
-- @ignore
local function SetDisguise(ply, cmd, args)
if
not IsValid(ply)
Expand Down
2 changes: 1 addition & 1 deletion lua/ttt2/extensions/draw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ local drawArc = draw.Arc
-- @param number radius The arc radius
-- @param number thickness The arc thickness, the arc is drawn to the inside
-- @param[default=0] number angleStart The arc start angle
-- @param[default=0] number angleStart The arc end angle
-- @param[default=0] number angleEnd The arc end angle
-- @param[default=1] number roughness The arc's roughness, aka degrees per step
-- @param[default=COLOR_WHITE] number color The arc's color
-- @param[default=1.0] number scale A scaling factor that is used for the shadows
Expand Down
1 change: 1 addition & 0 deletions lua/ttt2/libraries/database.lua
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ if CLIENT then
local index = nameToIndex[accessName]

if not index then
-- @ignore
local function OnWaitEndFunc()
database.GetValue(accessName, itemName, key, OnReceiveFunc)
end
Expand Down

0 comments on commit a0d199c

Please sign in to comment.