diff options
| author | historia <[not public]> | 2026-10-05 17:05:14 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-05 17:05:14 -0400 |
| commit | e42952469dadfb3535633c66c881050ac128703c (patch) | |
| tree | a78f7396b72cdbd6fa4f6c454c830f40cf2ad0cb /internal/game/cmd_bank.go | |
| parent | 90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (diff) | |
| download | thehouseoficarus-e42952469dadfb3535633c66c881050ac128703c.tar.gz | |
fix: gather verbs, walk oom, admin path bypass, roulette refund
Diffstat (limited to 'internal/game/cmd_bank.go')
| -rw-r--r-- | internal/game/cmd_bank.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/game/cmd_bank.go b/internal/game/cmd_bank.go index 15ce85f..bb03869 100644 --- a/internal/game/cmd_bank.go +++ b/internal/game/cmd_bank.go @@ -141,7 +141,10 @@ func (g *Game) doBankDeposit(sess *net.Session, input string) { return } - if len(matches) > 1 { + // Multiple slots often hold the same item name (stacking does not always + // merge), so only treat distinct names as ambiguous; showWhichOne dedups + // by name and would otherwise print a one-line prompt with no valid reply. + if len(matches) > 1 && len(uniqueItemNames(matches)) > 1 { g.showWhichOne(sess, matches) return } |
