From bd54292ff4f75e38c796144459db1253cfd87b91 Mon Sep 17 00:00:00 2001 From: uramer Date: Wed, 10 Jan 2024 23:10:19 +0100 Subject: [PATCH] Update I.Settings.registerGroup documentation --- files/data/scripts/omw/settings/player.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/data/scripts/omw/settings/player.lua b/files/data/scripts/omw/settings/player.lua index ea3f207df6..9f397c923d 100644 --- a/files/data/scripts/omw/settings/player.lua +++ b/files/data/scripts/omw/settings/player.lua @@ -117,7 +117,8 @@ return { end, --- -- @function [parent=#Settings] registerGroup Register a group to be attached to a page, - -- available both in player and global scripts + -- available in player, menu and global scripts + -- Note: menu scripts only allow group with permanentStorage = true, but can render the page before a game is loaded! -- @param #GroupOptions options -- @usage -- I.Settings.registerGroup { @@ -147,7 +148,7 @@ return { registerGroup = common.registerGroup, --- -- @function [parent=#Settings] updateRendererArgument Change the renderer argument of a setting - -- available both in player and global scripts + -- available both in player, menu and global scripts -- @param #string groupKey A settings group key -- @param #string settingKey A setting key -- @param argument A renderer argument