From 0098baa37c38c701f87a2a71f8a79ef55481d344 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:02:53 -0400 Subject: [PATCH] fix an error in docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index de4f261..21b6334 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,9 @@ To see a full example of an options class, see [this file](https://github.com/Al ### Role Options -Options can also be used within a Role class to show up in that Role's settings. +You can also specify a role type for an option or option group. -To set the role for an entire group, set the `AdvancedRole` property on that group like this: +To set the role type for an entire group, set the `AdvancedRole` property on that group like this: ```csharp public class MyOptionsGroup : IModdedOptionGroup { @@ -92,7 +92,7 @@ public class MyOptionsGroup : IModdedOptionGroup } ``` -To set the role for individual options, specify the `roleType` parameter in the option like this: +To set the role type for individual options, specify the `roleType` parameter in the option like this: ```csharp // this group doesnt specify a role, so it will show up in the global settings public class MyOptionsGroup : IModdedOptionGroup