Fix bug with ship as parameter

This commit is contained in:
Brian Buller 2020-10-19 09:17:04 -05:00
parent 5132c9aa7b
commit c13d1daa87
1 changed files with 1 additions and 1 deletions

View File

@ -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")