Skip to content

Commit 82d860b

Browse files
fix enum args not registering enums to serhelp
1 parent b2549d6 commit 82d860b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Code/MethodSystem/MethodIndex.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public static void AddMethod(Method method)
7474
}
7575

7676
NameToMethodIndex.Add(method.Name, method);
77+
78+
// Used to create all arguments, so initializers can do outside work
79+
// for example, EnumArgument adds its enum type to serhelp command
80+
_ = method.ExpectedArguments;
7781
}
7882

7983
/// <summary>

0 commit comments

Comments
 (0)