aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_colortable.go
diff options
context:
space:
mode:
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))