Enable command line client to accept new commands

This commit is contained in:
Marc Di Luzio 2020-07-04 22:42:37 +01:00
parent e875f82b13
commit 7272749614

View file

@ -217,10 +217,11 @@ func InnerMain(command string, args ...string) error {
Bearing: args[i], Bearing: args[i],
}, },
) )
case "stash": default:
// By default just use the command literally
commands = append(commands, commands = append(commands,
&rove.Command{ &rove.Command{
Command: game.CommandStash, Command: args[i],
}, },
) )
} }