Fix bug with ship as parameter
This commit is contained in:
parent
5132c9aa7b
commit
c13d1daa87
@ -43,7 +43,7 @@ func (a *AppState) runQuest(parms []string) int {
|
||||
a.Quest.Verbose = a.Verbose
|
||||
parms = parms[1:]
|
||||
var ships []string
|
||||
if len(parms) > 1 {
|
||||
if len(parms) > 0 {
|
||||
ships = append(ships, parms[0])
|
||||
}
|
||||
ships = append(ships, "default")
|
||||
|
Loading…
Reference in New Issue
Block a user