diff options
| author | historia <[not public]> | 2026-07-18 03:40:02 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-18 03:40:02 -0400 |
| commit | db8ca1fe26a36b78074a424ae657b2cbb9b3af19 (patch) | |
| tree | 9219f320de74f27cb5491e3cb6b0258c5713f0cb /internal/game/cmd_score.go | |
| parent | 467944adfa41673a3758d9622873abbe7ae35a49 (diff) | |
| download | thehouseoficarus-db8ca1fe26a36b78074a424ae657b2cbb9b3af19.tar.gz | |
feat(admin): admin color page more accurately represents game
Diffstat (limited to 'internal/game/cmd_score.go')
| -rw-r--r-- | internal/game/cmd_score.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go index 5e850d1..31caf1e 100644 --- a/internal/game/cmd_score.go +++ b/internal/game/cmd_score.go @@ -97,8 +97,8 @@ func (g *Game) doScore(sess *net.Session) { row1 := padded(nameStr, 20) + padded(clStr, 24) + roomStr content(row1) - creditsStr := g.colorize(sess, "credits_pickup", formatInt(p.Credits)) - chipsStr := g.colorize(sess, "chips_pickup", formatInt(countChips(p))) + creditsStr := g.colorize(sess, "currency_pickup", formatInt(p.Credits)) + chipsStr := g.colorize(sess, "currency_pickup", formatInt(countChips(p))) styleStr := color.Render(mode, color.Parse("49"), fmt.Sprintf("Style: %s", p.AttackStyle)) invStr := fmt.Sprintf("Inv: %d/28", 28-p.FreeSlots()) row2 := padded("Credits: "+creditsStr, 19) + padded("Chips: "+chipsStr, 16) + padded(styleStr, 22) + invStr |
