History

Fix typo in docs "unoad"

0xDEADCADE committed 1 year ago

Commit 552a9cb1 parent 7b810121 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptManager.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptManager.cpp+1−1
@@ -2431,7 +2431,7 @@ void ScriptManager::entityScriptContentAvailable(const EntityItemID& entityID, c · 2430 unmodified lines
24312431
24322432 /*@jsdoc
24332433 * Triggered when the script terminates for a user.
2434− * <p>Note: Can only be connected to via <code>this.unoad = function () { ... }</code> in the entity script.</p>
2434+ * <p>Note: Can only be connected to via <code>this.unload = function () { ... }</code> in the entity script.</p>
24352435 * <p class="availableIn"><strong>Supported Script Types:</strong> Client Entity Scripts &bull; Server Entity Scripts</p>
24362436 * @function Entities.unload
24372437 * @param {Uuid} entityID - The ID of the entity that the script is running in.