Skip to content

Commit

Permalink
Update GenerateCLDocs.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
AutumnThyme committed Feb 14, 2025
1 parent 1300147 commit b3bd021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Editor/GenerateCLDocs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ private string GenerateMethods(System.Type type, System.Xml.XmlDocument XMLdoc,
doc += $"##### {returnType} {signature}\n";
doc += $"- **Description:** {description}\n";

if (method != methods.Last())
if (method == methods.Last())
{
doc += "\n---\n\n";
}
Expand Down

0 comments on commit b3bd021

Please sign in to comment.