]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Setgamepreset (#41963)
authorKowlin <10947836+Kowlin@users.noreply.github.com>
Tue, 23 Dec 2025 05:59:36 +0000 (06:59 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Dec 2025 05:59:36 +0000 (05:59 +0000)
Content.Server/GameTicking/Commands/SetGamePresetCommand.cs

index 894460fe3f98725a20ea601ea9534cf60579d4d2..5c02dea5132e1b886319c7112452fea12c41f8f5 100644 (file)
@@ -17,7 +17,7 @@ namespace Content.Server.GameTicking.Commands
 
         public void Execute(IConsoleShell shell, string argStr, string[] args)
         {
-            if (args.Length is <= 1 or >= 3)
+            if (args.Length is < 1 or > 3)
             {
                 shell.WriteError(Loc.GetString("shell-need-between-arguments", ("lower", 1), ("upper", 3), ("currentAmount", args.Length)));
                 return;