Skip to content

Commit bf0b932

Browse files
committed
IntercomInfo state option fix
1 parent 9a966ce commit bf0b932

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Code/MethodSystem/Methods/IntercomMethods/IntercomInfoMethod.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using PlayerRoles.Voice;
44
using SER.Code.ArgumentSystem.Arguments;
55
using SER.Code.ArgumentSystem.BaseArguments;
6+
using SER.Code.ArgumentSystem.Structures;
67
using SER.Code.Helpers.Exceptions;
78
using SER.Code.MethodSystem.BaseMethods;
89
using SER.Code.ValueSystem;
@@ -17,7 +18,7 @@ public class IntercomInfoMethod : ReturningMethod
1718
public override Argument[] ExpectedArguments { get; } =
1819
[
1920
new OptionsArgument("mode",
20-
"state",
21+
Option.Enum<IntercomState>("state"),
2122
"speaker",
2223
"cooldown",
2324
"speechTimeLeft",

0 commit comments

Comments
 (0)