Skip to content

Commit b98f0e0

Browse files
fix: fix not being able to use "/code random"
1 parent 99081b7 commit b98f0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AutoCode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ private void HandleUse(BasePlayer player, string label, string[] args)
922922
}
923923

924924
// Use random code?
925-
if ((guest && args.Length > 2) || operation == RandomCode)
925+
if (operation == RandomCode)
926926
{
927927
if ((guest && args.Length > 2) || (!guest && args.Length > 1))
928928
{

0 commit comments

Comments
 (0)