API: Update error message of ns.singularity.joinFaction (#2700)

This commit is contained in:
catloversg
2026-04-29 05:38:43 +07:00
committed by GitHub
parent 9e85068cbb
commit 234ee7a923
3 changed files with 11 additions and 2 deletions
+3 -1
View File
@@ -2362,8 +2362,10 @@ export interface Singularity {
*
* This function will automatically accept an invitation from a faction and join it.
*
* Note that this function returns false if you are already a member of the specified faction.
*
* @param faction - Name of faction to join.
* @returns True if player joined the faction, and false otherwise.
* @returns True if the player successfully accepts an invitation, and false otherwise.
*/
joinFaction(faction: FactionName): boolean;