aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_eat.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_eat.go')
-rw-r--r--internal/game/cmd_eat.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/game/cmd_eat.go b/internal/game/cmd_eat.go
index 9d4bfd0..6a74979 100644
--- a/internal/game/cmd_eat.go
+++ b/internal/game/cmd_eat.go
@@ -28,10 +28,7 @@ func (g *Game) doEat(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
}