From fc65c54a30802f531e6a24cc374b59cf1d584d83 Mon Sep 17 00:00:00 2001 From: "Gabriel T. Nardy" Date: Tue, 30 Jan 2024 11:21:02 -0300 Subject: [PATCH] Minor tweaks and fixes --- docs/scripting-reference/glossary/enums.mdx | 2 +- src/api | 2 +- src/components/ClassBuilder.jsx | 2 +- .../version-latest/scripting-reference/glossary/enums.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/scripting-reference/glossary/enums.mdx b/docs/scripting-reference/glossary/enums.mdx index b0c06ce22f5..faac4fcd258 100644 --- a/docs/scripting-reference/glossary/enums.mdx +++ b/docs/scripting-reference/glossary/enums.mdx @@ -11,7 +11,7 @@ Instead of passing numbers to methods or comparing numbers in Events callbacks, ```lua -- Using Enums to figure out which StanceMode the Character is -Character.Subscribe("StanceModeChanged", function(character, old_stance, new_stance) +Character.Subscribe("StanceModeChange", function(character, old_stance, new_stance) if (new_stance == StanceMode.Standing) then Console.Log("I'm Standing!") else if (new_stance == StanceMode.Crouching) then diff --git a/src/api b/src/api index 4736f07c33b..7bbb2d7a24b 160000 --- a/src/api +++ b/src/api @@ -1 +1 @@ -Subproject commit 4736f07c33baaf481881f44e90bcc0f6a3c5e317 +Subproject commit 7bbb2d7a24b9062025a2c0d66928f91be4df73e3 diff --git a/src/components/ClassBuilder.jsx b/src/components/ClassBuilder.jsx index 5f3bd6b0c3b..777c7908365 100644 --- a/src/components/ClassBuilder.jsx +++ b/src/components/ClassBuilder.jsx @@ -174,7 +174,7 @@ export const TypeToAPIFolder = { StandardLibrary: "StandardLibraries/", Struct: // API Source URL export const APISourceURL = ({ type, class_name }) => ( - The methods, properties and events descriptions from this page are defined in our GitHub API Repository! + This page is auto-generated! The Functions, Properties and Events described here are defined in our GitHub's API Repository! Feel free to commit suggestions and changes to the source .json API files! ); diff --git a/versioned_docs/version-latest/scripting-reference/glossary/enums.mdx b/versioned_docs/version-latest/scripting-reference/glossary/enums.mdx index b0c06ce22f5..faac4fcd258 100644 --- a/versioned_docs/version-latest/scripting-reference/glossary/enums.mdx +++ b/versioned_docs/version-latest/scripting-reference/glossary/enums.mdx @@ -11,7 +11,7 @@ Instead of passing numbers to methods or comparing numbers in Events callbacks, ```lua -- Using Enums to figure out which StanceMode the Character is -Character.Subscribe("StanceModeChanged", function(character, old_stance, new_stance) +Character.Subscribe("StanceModeChange", function(character, old_stance, new_stance) if (new_stance == StanceMode.Standing) then Console.Log("I'm Standing!") else if (new_stance == StanceMode.Crouching) then