diff options
Diffstat (limited to 'internal/game/cmd_drop.go')
| -rw-r--r-- | internal/game/cmd_drop.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/internal/game/cmd_drop.go b/internal/game/cmd_drop.go index 702d1db..1fd99b4 100644 --- a/internal/game/cmd_drop.go +++ b/internal/game/cmd_drop.go @@ -39,10 +39,7 @@ func (g *Game) doDropAllNamed(sess *net.Session, input string) { unique := uniqueItemNames(matches) if len(unique) > 1 { - sess.WriteLine("Which one?") - for _, name := range unique { - sess.WriteLine(fmt.Sprintf(" - %s", name)) - } + g.showWhichOne(sess, matches) return } @@ -102,10 +99,7 @@ func (g *Game) doDrop(sess *net.Session, input string) { unique := uniqueItemNames(matches) if len(unique) > 1 { - sess.WriteLine("Which one?") - for _, name := range unique { - sess.WriteLine(fmt.Sprintf(" - %s", name)) - } + g.showWhichOne(sess, matches) return } |
