aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_colortable.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 18:20:26 -0400
committerhistoria <[not public]>2026-06-19 18:20:26 -0400
commit0ea4eec5dd2122c6704216971eb1249276297867 (patch)
tree430fbbef04e837820f1d031c190f52ecd6112e25 /internal/game/cmd_colortable.go
parent3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff)
downloadthehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'internal/game/cmd_colortable.go')
-rw-r--r--internal/game/cmd_colortable.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_colortable.go b/internal/game/cmd_colortable.go
index 90ae8c4..5aa36d9 100644
--- a/internal/game/cmd_colortable.go
+++ b/internal/game/cmd_colortable.go
@@ -6,7 +6,6 @@ import (
"thehouseoficarus/internal/color"
"thehouseoficarus/internal/net"
- "thehouseoficarus/internal/player"
)
func (g *Game) doColortable(sess *net.Session) {
@@ -16,7 +15,7 @@ func (g *Game) doColortable(sess *net.Session) {
return
}
- p := sess.Player.(*player.Player)
+ p := sess.Player
unicode := p.OptionBool("unicode")
sess.WriteLine(fmt.Sprintf("\nColor mode: %s", mode))