Enable command line client to accept new commands
This commit is contained in:
parent
e875f82b13
commit
7272749614
1 changed files with 3 additions and 2 deletions
|
@ -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],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue